Viewing 7 posts - 16 through 22 (of 22 total)
you try this query I think it should work
update TableA
Set TableA.OldEmail = TableB.NewEmail
from TableA join TableB on
TableA.LastName = TableB.LastName and
TableA.FirstName = TableB.FirstName
January 29, 2006 at 10:11 pm
updation is nothing but deletion followed by insertion
so you execute select col1 from deleted in trigger then you will get old value
select col1 from inserted will give you new value
January 12, 2006 at 2:36 am
I think there is misunderstanding about the trigger
though trigger is a stored procedure you can not execute it manuallly. it gets executed when you try to do Insert or update...
January 12, 2006 at 2:17 am
What statement you have provided it seems that you want to create another table using results of existing table
for that you have to use select into command
in that case your...
January 12, 2006 at 2:10 am
DBCC SHRINKDATABASE('database',10,TRUNCATEONLY)
BACKUP LOG database WITH TRUNCATE_ONLY
November 14, 2005 at 12:33 am
You generate the script of Stored procedure. and execute this script using Query analyser on New Server. I think this is the best option.
May 22, 2005 at 11:59 pm
It is possble if both server are on.
open package in design mode. go in package and use save as option. There you give new server name, username & password. hope...
May 18, 2005 at 1:06 am
Viewing 7 posts - 16 through 22 (of 22 total)