Viewing 15 posts - 2,806 through 2,820 (of 11,678 total)
We never saw the actual query though.
It is possible that you filter those rows out somewhere (with a join or something like that).
However in some cases the query optimizer might...
June 5, 2014 at 7:40 am
The character at the end of the line. You know, the one you get when you hit "enter" on your keyboard.
Can you share the bulk insert command you used?
June 5, 2014 at 7:19 am
pk2dpvp (6/5/2014)
very nice, thanks alot! 😀I've been struggling with this for a few hours...
Thanks for the help! really appreciated 😀
groetjes :p
De groeten terug 😉
June 5, 2014 at 7:14 am
Do you have any carriage returns/line feeds in the file where they don't belong?
June 5, 2014 at 7:10 am
UPDATE a
SET omschrijving= SP.[omschrijving]
,verkoopprijs= SP.[verkoopprijs]
,gewijzigd= getDate()
FROM artikelen a
LEFT OUTER JOIN [Hofstede].[dbo].[sparepartsupdate] SP
ON a.PartNrFabrikant = SP.PartNrFabrikant
WHERE (AR.omschrijving != SP.omschrijving) OR (AR.verkoopprijs != SP.verkoopprijs);
June 5, 2014 at 7:07 am
Here you go:
UPDATE artikelen
SET omschrijving = [Hofstede].[dbo].[sparepartsupdate].[omschrijving] ,
verkoopprijs = [Hofstede].[dbo].[sparepartsupdate].[verkoopprijs] ,
gewijzigd = getDate()
WHERE(PartNrFabrikant in(
SELECT ar.PartNrFabrikant -- only 1 column here
FROM artikelen AR
LEFT OUTER JOIN [Hofstede].[dbo].[sparepartsupdate] SP
ON AR.omschrijving !=...
June 5, 2014 at 7:01 am
GilaMonster (6/5/2014)
Koen Verbeeck (6/5/2014)
GilaMonster (6/5/2014)
thomashohner (6/5/2014)
What is the preference on column aliases ?AS. Equals sign is for comparing values or assigning values. 😀
Yes, you assign the result of the expression...
June 5, 2014 at 6:55 am
The first 3 errors are there because those columns might be present in multiple tables, and SQL Server doesn't know from which table to take it.
The last error is because...
June 5, 2014 at 6:54 am
GilaMonster (6/5/2014)
thomashohner (6/5/2014)
What is the preference on column aliases ?AS. Equals sign is for comparing values or assigning values. 😀
Yes, you assign the result of the expression to a column....
June 5, 2014 at 6:50 am
greg.bull (6/5/2014)
Dear All,Thanks for this, I think I've found some non-valid times, and this is the problem. SQL error messages never lie!
Regards, Greg
Now I'm curious what went wrong of course...
June 5, 2014 at 6:50 am
Or you could set the datatype in SSIS to DT_NTEXT and save you all the trouble in VB.NET.
June 5, 2014 at 6:43 am
I prefer the alias with the equal sign. It is very easy to align everything, especially when you have larger expressions.
June 5, 2014 at 6:26 am
If you add something to NULL, the result is NULL. Then the ISNULL fuction will replace this with 0. So the output is what one would expect considering the formulas...
June 5, 2014 at 6:18 am
Dtutil can only be used for deploying packages in the package deployment model.
It cannot be used for the project deployment model (which uses the SSIS catalog).
June 5, 2014 at 6:01 am
greg.bull (6/5/2014)
I've tried to...
June 5, 2014 at 5:34 am
Viewing 15 posts - 2,806 through 2,820 (of 11,678 total)