top of page

Script to compare data between two tables

-- Show data in table dbtest02 that do not exists in dbtest01


select * from dbtest02.dbo.article

except

select * from dbtest01.dbo.article

Recent Posts

See All
SQL Server Profiler Trace

--Import multiple trace file in sql Table. --All the rollover files will be automatically imported --provide number tracefile to capture...

 
 
 
Find All Primary Key in SQL Server

select schema_name(tab.schema_id) as [schema_name], pk.[name] as pk_name, substring(column_names, 1, len(column_names)-1) as [columns],...

 
 
 

Comentários


bottom of page