Click here to Skip to main content
15,905,028 members
Home / Discussions / Database
   

Database

 
NewsNew Built-In functions in 2012 Pin
Karthik J, Coimbatore10-May-13 2:24
Karthik J, Coimbatore10-May-13 2:24 
GeneralRe: New Built-In functions in 2012 Pin
Richard MacCutchan10-May-13 4:05
mveRichard MacCutchan10-May-13 4:05 
GeneralRe: New Built-In functions in 2012 Pin
jschell10-May-13 8:00
jschell10-May-13 8:00 
QuestionCannot Find Rows With % character in Text Fields with Access SQL Pin
JohnBlocker8-May-13 10:01
JohnBlocker8-May-13 10:01 
AnswerRe: Cannot Find Rows With % character in Text Fields with Access SQL Pin
Jörgen Andersson9-May-13 9:34
professionalJörgen Andersson9-May-13 9:34 
GeneralRe: Cannot Find Rows With % character in Text Fields with Access SQL Pin
JohnBlocker9-May-13 22:15
JohnBlocker9-May-13 22:15 
GeneralRe: Cannot Find Rows With % character in Text Fields with Access SQL Pin
Jörgen Andersson10-May-13 4:51
professionalJörgen Andersson10-May-13 4:51 
AnswerRe: Cannot Find Rows With % character in Text Fields with Access SQL Pin
Richard Deeming10-May-13 1:39
mveRichard Deeming10-May-13 1:39 
AnswerRe: Cannot Find Rows With % character in Text Fields with Access SQL Pin
jschell10-May-13 8:02
jschell10-May-13 8:02 
AnswerRe: Cannot Find Rows With % character in Text Fields with Access SQL Pin
Fabricio Dos Santos Antunes10-May-13 15:22
Fabricio Dos Santos Antunes10-May-13 15:22 
Questionrule of DataAdapter Pin
messages7-May-13 21:10
messages7-May-13 21:10 
AnswerRe: rule of DataAdapter Pin
PIEBALDconsult8-May-13 4:59
mvePIEBALDconsult8-May-13 4:59 
GeneralRe: rule of DataAdapter Pin
messages8-May-13 8:47
messages8-May-13 8:47 
GeneralRe: rule of DataAdapter Pin
PIEBALDconsult9-May-13 4:35
mvePIEBALDconsult9-May-13 4:35 
GeneralRe: rule of DataAdapter Pin
messages9-May-13 5:16
messages9-May-13 5:16 
Questiondifference between with and temp table in my two query Pin
mhd.sbt7-May-13 9:02
mhd.sbt7-May-13 9:02 
AnswerRe: difference between with and temp table in my two query Pin
Eddy Vluggen7-May-13 9:40
professionalEddy Vluggen7-May-13 9:40 
AnswerRe: difference between with and temp table in my two query Pin
Jörgen Andersson8-May-13 11:52
professionalJörgen Andersson8-May-13 11:52 
AnswerRe: difference between with and temp table in my two query Pin
Fabricio Dos Santos Antunes10-May-13 14:55
Fabricio Dos Santos Antunes10-May-13 14:55 
QuestionExport Image from SQL to png Format Pin
mrfalk7-May-13 8:09
mrfalk7-May-13 8:09 
AnswerRe: Export Image from SQL to png Format Pin
Eddy Vluggen7-May-13 9:52
professionalEddy Vluggen7-May-13 9:52 
QuestionBulk insert not recognizing end of file Pin
searching for solution.....5-May-13 23:18
searching for solution.....5-May-13 23:18 
I have data in input file given below -->
1,abc
2,xyz


------- End of data----

Notice i have an empty rows after second row.
I m doing bulk insert with FIELDTERMINATOR = ',',ROWTERMINATOR = '\n'. It works perfectly fine when bulk inserting after removing the empty records. But when there is empty record at end of file, it is throwing error given below and no records are inserted in db. I cannot ask the user to remove empty line at EOF.

Msg 4832, Level 16, State 1, Line 1
Bulk load: An unexpected end of file was encountered in the data file.
Msg 7399, Level 16, State 1, Line 1
The OLE DB provider "BULK" for linked server "(null)" reported an error. The provider did not give any information about the error.
Msg 7330, Level 16, State 2, Line 1
Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".
AnswerRe: Bulk insert not recognizing end of file Pin
Eddy Vluggen6-May-13 7:56
professionalEddy Vluggen6-May-13 7:56 
QuestionHow to get data from Gridview (gridview(checkbox)) using asp.net and c#...... Pin
nukalarajesh1-May-13 21:19
nukalarajesh1-May-13 21:19 
AnswerRe: How to get data from Gridview (gridview(checkbox)) using asp.net and c#...... Pin
Richard MacCutchan1-May-13 21:27
mveRichard MacCutchan1-May-13 21:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.