Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 updating one table from another table !

Author  Topic 

naveenagg
Starting Member

2 Posts

Posted - 2010-08-22 : 09:12:13
I have got a very peculiar problem. I am actually using sql server management studio express and whenever i write a query to update one table from another it appends a cross join in the end which results in wrong updation.
Today i tried the same query on command line using sqlcmd and it executed perfectly.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-08-22 : 12:14:17
which version of management studio? where you using standard query editor?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

slimt_slimt
Aged Yak Warrior

746 Posts

Posted - 2010-08-22 : 12:14:44
can you paste your query that you are running in SSMS? and DDL of your two tables.
Go to Top of Page
   

- Advertisement -