Thanx for the advice OraMaster, you are right about the point but there will not be such possibility. The new value will always be different. But thanx for reminding, will be handy somewhere else ;)
thanx
Engin
User Profile
Collapse
-
update ALTMALZEME
set PROJEKODU = SevkiyatTMP.YEN IPROJE
FROM dbo.ALTMALZEME INNER JOIN dbo.SevkiyatTMP
ON dbo.ALTMALZEME. ALTMPKOD = dbo.SevkiyatTMP .MALZEMENO
This solved my problem :)Leave a comment:
-
UPDATE makes cells NULL
Hi,
I'm trying to update a coloumn in table A with the corresponding values in table B. It updates the values correctly for the rows that meet the criteria, but changes the values of other rows to NULL.
update ALTMALZEME
set PROJEKODU = (select YENIPROJE from SevkiyatTMP WHERE SevkiyatTMP.MAL ZEMENO = ALTMALZEME.ALTM PKOD)
the Select command works fine and selects the needed rows, but the remaining... -
Thanks for the trick kabilahan! i used it in my View, worked awesome ;)
thanks for the replies..Leave a comment:
-
well thanks for the reply, seems to be a solution for me...will try tomorrow at work.
thanxLeave a comment:
-
Date/Time Problem with SQL
Hi there,
I have a web app that works with SQL 2008 in ASP, vbscript code. A very simple thing; i have Projects page. There i have the Project Name, Company, and the Finish Date. I simply enter the value 22/11/2010 for example. When i hit the Save button, it works fine, i see in the SQL studio that the data is corretly saved. But when i enter 10/11/2010 for example, it swithces the day and month numbers as long as i hit the save button,...
No activity results to display
Show More
Leave a comment: