Click here to Skip to main content
15,902,777 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Query Problem Pin
J4amieC7-Oct-09 23:03
J4amieC7-Oct-09 23:03 
AnswerRe: SQL Query Problem Pin
Niladri_Biswas27-Oct-09 18:24
Niladri_Biswas27-Oct-09 18:24 
QuestionBulk Import Error Pin
Vimalsoft(Pty) Ltd6-Oct-09 23:35
professionalVimalsoft(Pty) Ltd6-Oct-09 23:35 
AnswerRe: Bulk Import Error Pin
Eddy Vluggen6-Oct-09 23:49
professionalEddy Vluggen6-Oct-09 23:49 
GeneralRe: Bulk Import Error Pin
Vimalsoft(Pty) Ltd7-Oct-09 0:04
professionalVimalsoft(Pty) Ltd7-Oct-09 0:04 
AnswerRe: Bulk Import Error Pin
J4amieC6-Oct-09 23:54
J4amieC6-Oct-09 23:54 
GeneralRe: Bulk Import Error Pin
Vimalsoft(Pty) Ltd7-Oct-09 0:09
professionalVimalsoft(Pty) Ltd7-Oct-09 0:09 
GeneralRe: Bulk Import Error Pin
Vimalsoft(Pty) Ltd7-Oct-09 0:48
professionalVimalsoft(Pty) Ltd7-Oct-09 0:48 
The Problem is that the SQL Server is in another Machine and am in my Developement Machine. So the Path is not in the Machine. the Solution is to Add the File to the Server and after that access the File after am done with the Import and Delete the File. Now i have one Question. in my database table i have an Identity Column

BULK INSERT dbo.TBL_CMPS FROM 'C:\UNISA_IMPORT\Final_Import\Campuses.csv'  WITH ( FIELDTERMINATOR = ',', ROWTERMINATOR = '\n' ); 


How can i make the second Column as the First one. Because it tries to add records in the identity field and i get the Following Errors

ulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 2, column 1 (ID).
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 3, column 1 (ID).
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 4, column 1 (ID).
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 5, column 1 (ID).
Msg 4864, Level 16, State 1, Line 1
Bu


Thank you

Vuyiswa Maseko,

Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/

GeneralRe: Bulk Import Error Pin
J4amieC7-Oct-09 0:58
J4amieC7-Oct-09 0:58 
Questiondelete stament Pin
mjawadkhatri6-Oct-09 19:04
mjawadkhatri6-Oct-09 19:04 
AnswerRe: delete stament Pin
Andy_L_J6-Oct-09 19:18
Andy_L_J6-Oct-09 19:18 
GeneralRe: delete stament Pin
mjawadkhatri6-Oct-09 19:19
mjawadkhatri6-Oct-09 19:19 
Questionhow i can backup my entire database using pl/sql developer Tool ver 7.1 ? Pin
E_Gold6-Oct-09 10:12
E_Gold6-Oct-09 10:12 
Questioninstall sql express 2005 question Pin
Jassim Rahma5-Oct-09 23:13
Jassim Rahma5-Oct-09 23:13 
AnswerRe: install sql express 2005 question Pin
Hristo-Bojilov5-Oct-09 23:43
Hristo-Bojilov5-Oct-09 23:43 
QuestionAdd a report to a Visual Studio Project Pin
Hardus Lombaard5-Oct-09 20:48
Hardus Lombaard5-Oct-09 20:48 
QuestionOracle query Pin
sandhya145-Oct-09 19:58
sandhya145-Oct-09 19:58 
AnswerRe: Oracle query Pin
Mycroft Holmes5-Oct-09 21:59
professionalMycroft Holmes5-Oct-09 21:59 
GeneralRe: Oracle query Pin
sandhya145-Oct-09 22:27
sandhya145-Oct-09 22:27 
QuestionQuery slowed up Pin
jishbalan5-Oct-09 19:05
jishbalan5-Oct-09 19:05 
AnswerRe: Query slowed up Pin
Mycroft Holmes5-Oct-09 21:55
professionalMycroft Holmes5-Oct-09 21:55 
GeneralRe: Query slowed up Pin
jishbalan5-Oct-09 23:38
jishbalan5-Oct-09 23:38 
GeneralRe: Query slowed up Pin
mnatarajakumaran6-Oct-09 1:49
mnatarajakumaran6-Oct-09 1:49 
GeneralRe: Query slowed up Pin
David Skelly6-Oct-09 22:10
David Skelly6-Oct-09 22:10 
QuestionServer response: 550 5.7.1 Unable to relay for abc@gmail.com Pin
Anuj Banka5-Oct-09 1:57
Anuj Banka5-Oct-09 1:57 

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.