dbTalk Databases Forums  

DTS & SQL insert ...

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS & SQL insert ... in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steininger, Peter
 
Posts: n/a

Default DTS & SQL insert ... - 09-09-2003 , 04:32 AM






Hi!

I use a insert in a DTS package.
After extending the table with a field (NOT NULL) with default, I get an
error inserting data without specifing explicit data for the new field.

What's wrong?



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS & SQL insert ... - 09-09-2003 , 04:36 AM






What does the message say ?

Something like "Cannot insert NULL value into column <myCol>"

It sounds like you are expereincing not dissimilar to this

Problems With IDENTITY() and the DataPump task.
(http://www.sqldts.com/Default.aspx?293)

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Steininger, Peter" <peter.steininger (AT) ifab (DOT) uni-karlsruhe.de> wrote in
message news:%23JilKVrdDHA.2416 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Quote:
Hi!

I use a insert in a DTS package.
After extending the table with a field (NOT NULL) with default, I get an
error inserting data without specifing explicit data for the new field.

What's wrong?





Reply With Quote
  #3  
Old   
Steininger, Peter
 
Posts: n/a

Default Re: DTS & SQL insert ... - 09-09-2003 , 04:50 AM



OH, Oh!

My fault, ERROR in SQL.

BUt, thanks for the articel!

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> schrieb im Newsbeitrag
news:O%23QjYXrdDHA.1448 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Quote:
What does the message say ?

Something like "Cannot insert NULL value into column <myCol>"

It sounds like you are expereincing not dissimilar to this

Problems With IDENTITY() and the DataPump task.
(http://www.sqldts.com/Default.aspx?293)

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Steininger, Peter" <peter.steininger (AT) ifab (DOT) uni-karlsruhe.de> wrote in
message news:%23JilKVrdDHA.2416 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hi!

I use a insert in a DTS package.
After extending the table with a field (NOT NULL) with default, I get an
error inserting data without specifing explicit data for the new field.

What's wrong?







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.