Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.21 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Importing from excel to sql server
  2. BULK INSERT [BA_SALES].[dbo].FirstDataInput
  3. FROM 'C:MSSqlDataSalesTEST.txt'
  4. WITH
  5. (
  6. FIELDTERMINATOR =',',
  7. ROWTERMINATOR ='n',
  8. FIRSTROW = 2,
  9. ERRORFILE = 'C:MSSqlDataSaleserr'
  10. )