Viewing 13 posts - 1 through 14 (of 14 total)
Thanks it's working fine now!!
Strange thing was that the subquery returned one column...
Maybe someting to do with the execution plan?
But again thanks!
Regards,
Hans
July 14, 2011 at 2:24 am
Will do that!
Thanks!
October 15, 2010 at 1:28 am
Thanks all!
I'm going to read up on the (snapshot) replication of SQL Server.
Regards,
Heisa
October 20, 2009 at 7:23 am
Hi,
If I use the BCP tool and change the SQLDATETIME field to SQLCHAR, it works! The format of the datetime in the importfile is yyyymmdd.
BCP is not as strict...
January 7, 2009 at 4:15 am
Ok thx!
I'll try to find a solution or otherwise use your work-around.
Thx
Regards,
Heisa
January 2, 2009 at 3:28 am
Thx,
I've added a zip file with the files:
importfile.txt - contains a few records of the import;
tblaankomsten.sql - contains the table script;
vwaankomsten.sql - contains the script of the view on the...
January 2, 2009 at 2:26 am
oh,
That would explain the systax error 🙂
Then I have another question,
I wanted to use this statement:
SET DATEFORMAT ymd
GO
BULK INSERT vwAankomstenBulk FROM 'C:\bap\import\INKM.20081229' WITH (FIELDTERMINATOR = '";"',
FORMATFILE='C:\bap\import\aankomsten.fmt')
GO
But one column in...
January 2, 2009 at 1:58 am
Hi Gail,
Did you have a chance to look at the UDF?
I already altered the UDF to check for duplicate keys, so the (damn) thing works now....
But I was still wondering...
December 12, 2008 at 4:17 am
Hi,
Thx!
I've added the definition of the table tblaankomsten and a file with the inserts.
This is based on this selection recordset:
agaID agaActie ...
December 9, 2008 at 5:02 am
Hi,
I am creating a cursor to read these records one by one:
agaID agaActie levID ...
December 9, 2008 at 3:50 am
Hi,
Here is the UDF,
It is a quite some text... But I don't see an option to attach a file in the post....
There are two table variables @ArtNrs1 and @ArtNrs2 on...
December 9, 2008 at 3:11 am
Thx...
I know that is also an option...
But that would mean an extra step, that would make the process slower...
or does the WITH IGNORE_DUP_KEY the same?
I am looking for the best...
December 9, 2008 at 2:42 am
Viewing 13 posts - 1 through 14 (of 14 total)