Viewing 13 posts - 16 through 29 (of 29 total)
omschrijving: nvarchar
verkoopprijs: float
they mean:
omschrijving - Description
Verkoopprijs: - Price.
June 11, 2014 at 2:13 am
I'm still getting (2054 row(s) affected)
That should change to 0 after running once, I have no idea why it doesn't just do that
but whenever I change omschrijving or verkoopprijs it...
June 11, 2014 at 2:03 am
nearly perfect, runs like a charm! haha thanks :p
June 10, 2014 at 5:45 am
haha I tried to understand it but it completely fkedup my brain :p
June 6, 2014 at 7:47 am
aye, got it all working fine now, tested and well 🙂
Though, I still didn't get the insert script working :p
June 6, 2014 at 6:33 am
If I change WHERE to AND it gives me this..:
(408014 row(s) affected)
which with where is:
(2054 row(s) affected)
---------------------------------------------
Isn't this because it doesn't know what to do with AND so it affects...
June 6, 2014 at 5:46 am
-- De toegevoegde artikelen toevoegen aan de artikel table.
INSERT INTO artikelen AR
SET [toegevoegd]= getDate()
LEFT JOIN [Hofstede].[dbo].[sparepartsupdate]
WHERE [artikelen] not in [sparepartsupdate]
I can't get any further so basically I'm pretty stuck on...
June 6, 2014 at 4:59 am
yupp...
After an hour of trying everything I could possibly think of I came to the conclusion that I am unable to create anything with insert into:p
June 6, 2014 at 3:18 am
Koen Verbeeck (6/5/2014)
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 (!!!A.omschrijving != SP.omschrijving) OR (!!!A.verkoopprijs != SP.verkoopprijs);
June 5, 2014 at 8:51 am
very nice, thanks alot! 😀
I've been struggling with this for a few hours...
Thanks for the help! really appreciated 😀
groetjes :p
June 5, 2014 at 7:13 am
Msg 4104, Level 16, State 1, Line 2
The multi-part identifier "Hofstede.dbo.sparepartsupdate.omschrijving" could not be bound.
Msg 4104, Level 16, State 1, Line 3
The multi-part identifier "Hofstede.dbo.sparepartsupdate.verkoopprijs" could not be bound.
.....
:p
June 5, 2014 at 7:03 am
okay so I rewrote the columns, as you said...
UPDATE artikelen
SET omschrijving = [Hofstede].[dbo].[sparepartsupdate].[omschrijving] ,
verkoopprijs = [Hofstede].[dbo].[sparepartsupdate].[verkoopprijs] ,
gewijzigd = getDate()
WHERE(PartNrFabrikant in(
SELECT ar.PartNrFabrikant, ar.omschrijving, ar.verkoopprijs
FROM...
June 5, 2014 at 6:59 am
I've tried that... keep getting this error:
Cannot create an instance of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)".
May 27, 2014 at 2:57 am
Viewing 13 posts - 16 through 29 (of 29 total)