| If this e-mail is not displayed properly, use the following link: http://www1.emarsys.net/u/gm.php?prm=NWFvhR7spx_125656616_71240_256455 |
Tech things , Software tips and tweaks, Interesting news,fun things,criticism.......all gone...its just my day to day life chronicle of things
Thursday, December 30, 2010
Fname has sent a secret message
Thursday, December 16, 2010
G P Reddy invites you to Slice 50% of your Restaurant and other Entertainment Expenses.
G P Reddy wants you to check this message
Hi ,
Can you really save 30%, 40% or even 90% on movies, restaurants, spas, salons, gyms, resorts and other fun places?
Read till the rest of the email and you will get Rs 50.
How Does it Work in 3 Easy Steps
| Once you register. You get a deal alert every 24 to 72 hours. These are unbeatable, mouthwatering deals you won’t typically get. | |
| Browse the deal and when you like it you can purchase it (online or cash on delivery) | |
| Get your voucher and redeem it at the location. |
If you have clarifications send me an email at reddygantasri31@gmail.com
G P Reddy
Friday, May 1, 2009
Inserting excel sheet data in to SQL Server 2005 database table
1. First of all see that you have the create permissions in that database.
2. If you have the Create Permissions, Go ahead otherwise get it from DBA
3. Try to create a temporary table with the column names of the excel sheet.
- Example:
create table Temp
(
Column1 datatype null/not null,
Column2 datatype null/not null,
Column3 datatype null/not null,
Column4 datatype null/not null,
……………………… ……… like on
)
4. After creating the Temporary table Insert the excel sheet with data in to the table.
INSERT INTO Temp
SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\(NAME OF THE EXCEL SHEET).xls;HDR=YES;IMEX=1', 'SELECT * FROM [sheet1$]')
GO
5. Be sure that the sheet number of the excel sheet is mentioned correctly, here it is Sheet1 but It might be different in your excel sheet and save the excel sheet in C drive.
That's it you can see the excel sheet data in table Temp.