Viewing 15 posts - 16 through 30 (of 108 total)
you can use the exist method of xml to search the data
August 7, 2008 at 3:16 am
in sql 2005 we have so many ways u can list out the requird objects,
u can get the list of procedures using..sys.procedures
July 29, 2008 at 1:22 am
1. By maintaining the proper commenting in the SP itself.
2. By Genrating script & versioning it after each changes
3. BY mainting ddl trigger to check the SP audit.
😀
July 25, 2008 at 2:33 am
I think there is no such script, bu tyou can create the DDL trigger on database to track the records
July 25, 2008 at 2:28 am
U can try this way,
Add one column Timestamp in Server A - Table, having datatype Timestamp ( binary format )
Add one column Timestamp in Server B- Table, having datatype binary
and...
July 24, 2008 at 3:43 am
Could you tell us what kind of variety of errors is coming?
July 23, 2008 at 12:40 am
IF OBJECT_ID('tempdb..#tmp1') > 0
DROP TABLE #tmp1
CREATE TABLE #tmp1( ColID INT, ColName VARCHAR(10) )
SELECT * FROM tempdb.sys.Columns WHERE Object_ID = OBJECT_ID('tempdb..#tmp1')
IF OBJECT_ID('tempdb..#tmp1') > 0
DROP TABLE #tmp1
July 22, 2008 at 5:21 am
As per my understanding what you have to do is create an Update trigger on your table, where you have build a logic to update col1
if Col2 is updated then...
July 21, 2008 at 3:05 am
SELECT A.ID,
CASE
WHEN a.StartTime != b.StartTime THEN 'Start Time doesn't match'
WHEN a.EndTime != b.EndTime THEN 'End Time doesn't match'
ELSE 'Record Not found in TableB'
END
FROM
TableA a INNER JOIN TableB...
July 21, 2008 at 2:52 am
You can check the example on below link...
http://sqlity.blogspot.com/2008/03/partition-table-example.html
July 20, 2008 at 11:47 pm
I guess TRY CATCH block improves the error handling in store procedure, it doesn't have any performance issues with it.
July 20, 2008 at 11:42 pm
You can check the log file for getting the process details. As per my knwledge it is store somewhere in C:\Program Files\Microsoft SQL Server\80 or 90\bin....
July 20, 2008 at 11:39 pm
July 20, 2008 at 9:58 pm
This will return all tables Rows informantion...
SELECT OBJECT_NAME(object_id), Rows FROM sys.partitions WHERE index_id = 1
July 20, 2008 at 11:54 am
Viewing 15 posts - 16 through 30 (of 108 total)