Click here to Skip to main content
15,890,186 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to solve the error "The query builder failed." Pin
kyi kyi12-Oct-08 21:32
kyi kyi12-Oct-08 21:32 
AnswerRe: How to solve the error "The query builder failed." Pin
Wendelius13-Oct-08 5:56
mentorWendelius13-Oct-08 5:56 
QuestionSQL Triggers... Pin
Illegal Operation12-Oct-08 19:33
Illegal Operation12-Oct-08 19:33 
AnswerRe: SQL Triggers... Pin
Mycroft Holmes12-Oct-08 20:27
professionalMycroft Holmes12-Oct-08 20:27 
GeneralRe: SQL Triggers... Pin
Illegal Operation13-Oct-08 16:14
Illegal Operation13-Oct-08 16:14 
GeneralRe: SQL Triggers... Pin
Mycroft Holmes13-Oct-08 16:58
professionalMycroft Holmes13-Oct-08 16:58 
AnswerRe: SQL Triggers... Pin
nelsonpaixao13-Oct-08 12:40
nelsonpaixao13-Oct-08 12:40 
QuestionBulk Insert Pin
Mhiny12-Oct-08 19:29
Mhiny12-Oct-08 19:29 
Hi,

I have a data file which consists of data as below,

Header
xx|yy|zz
aa|bb|cc
Footer



While iam inserting into table using bulk insert, this pipe(|) is also getting inserted into the table,

here is my query iam using to insert the data using bulk insert.

BULK Insert #TmpStList
FROM 'D:\PSC07\HRDATA\HR2SSTS_TRAINING.TXT' WITH
(FirstRow=1,LastRow= 3,DATAFILETYPE='char',FIELDTERMINATOR = '|',
ROWTERMINATOR = '\n',keepnulls)

I want result like this

fields1 2 3
xx yy zz
aa bb cc

but i got this

fileds1 2 3
Headerxx yy zz
aa bb cc

I don't want to insert (|) into Header .
AnswerRe: Bulk Insert Pin
Wendelius13-Oct-08 5:34
mentorWendelius13-Oct-08 5:34 
QuestionNO sql server installed in other computer Pin
nelsonpaixao12-Oct-08 14:25
nelsonpaixao12-Oct-08 14:25 
AnswerRe: NO sql server installed in other computer Pin
Eslam Afifi12-Oct-08 15:44
Eslam Afifi12-Oct-08 15:44 
AnswerRe: NO sql server installed in other computer Pin
Mycroft Holmes12-Oct-08 20:19
professionalMycroft Holmes12-Oct-08 20:19 
Questionthreshold Problem when running long Procedures Pin
Vimalsoft(Pty) Ltd10-Oct-08 22:54
professionalVimalsoft(Pty) Ltd10-Oct-08 22:54 
AnswerRe: threshold Problem when running long Procedures Pin
Wendelius10-Oct-08 23:49
mentorWendelius10-Oct-08 23:49 
GeneralRe: threshold Problem when running long Procedures Pin
Vimalsoft(Pty) Ltd11-Oct-08 0:51
professionalVimalsoft(Pty) Ltd11-Oct-08 0:51 
GeneralRe: threshold Problem when running long Procedures Pin
Wendelius11-Oct-08 1:08
mentorWendelius11-Oct-08 1:08 
GeneralRe: threshold Problem when running long Procedures Pin
Vimalsoft(Pty) Ltd11-Oct-08 1:16
professionalVimalsoft(Pty) Ltd11-Oct-08 1:16 
GeneralRe: threshold Problem when running long Procedures Pin
Wendelius11-Oct-08 1:19
mentorWendelius11-Oct-08 1:19 
Questionhow can I make the value of an attribute in a table as SYSDATE Pin
alexyxj10-Oct-08 10:01
alexyxj10-Oct-08 10:01 
AnswerRe: how can I make the value of an attribute in a table as SYSDATE Pin
Colin Angus Mackay10-Oct-08 13:19
Colin Angus Mackay10-Oct-08 13:19 
AnswerRe: how can I make the value of an attribute in a table as SYSDATE Pin
Al Ortega10-Oct-08 15:41
Al Ortega10-Oct-08 15:41 
AnswerRe: how can I make the value of an attribute in a table as SYSDATE Pin
Wendelius10-Oct-08 19:48
mentorWendelius10-Oct-08 19:48 
QuestionLeft JOIN Pin
polishprogrammer10-Oct-08 5:57
polishprogrammer10-Oct-08 5:57 
AnswerRe: Left JOIN Pin
Tim Carmichael10-Oct-08 6:08
Tim Carmichael10-Oct-08 6:08 
GeneralRe: Left JOIN Pin
polishprogrammer10-Oct-08 6:28
polishprogrammer10-Oct-08 6:28 

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.