Viewing 15 posts - 31 through 45 (of 115 total)
If you don't know the exact characters then you can use their ASCII values to find & replace.
Hope this will help.
August 2, 2006 at 7:57 am
Yes i was refering to C2 auditing only.
thanks Karl for explaning.
July 27, 2006 at 9:38 am
If auditing is enabled on the server then, you can find the id from there as well.
July 27, 2006 at 8:07 am
June 28, 2006 at 11:22 am
This code will give the list of child tables and master tables.
SELECT object_name(fkeyid) AS child
,object_name(constid)AS FK
,object_name(rkeyid) AS master
FROM sysreferences
WHERE object_name(fkeyid) IN ('<TABLE_NAME>,<TABLE_NAME>,<TABLE_NAME>,<TABLE_NAME>,...')
OR object_name(rkeyid) IN ('<TABLE_NAME>,<TABLE_NAME>,<TABLE_NAME>,<TABLE_NAME>,...')
ORDER BY 1
June 26, 2006 at 8:53 am
This is the best way to do it.
if you want your query should be dynamic then you have to write a sp useing cursor in it which will be real pain...
June 24, 2006 at 2:37 am
Check this out this may help you.
CREATE TABLE t1 (a int, b int, c int,d int )
INSERT INTO t1 VALUES(1,NULL,NULL,NULL)
INSERT INTO t1 VALUES(NULL,1,NULL,NULL)
INSERT INTO t1 VALUES(NULL,NULL,1,NULL)
INSERT INTO t1 VALUES(NULL,NULL,NULL,1)
select *...
June 24, 2006 at 2:02 am
You can get the file locations from the following command.
sp_msforeachdb "use ? ;select name,filename from sysfiles "
June 24, 2006 at 1:42 am
It's not possible to get the procedure back after dropping it from the db because it deletes all the entries from the db related to that sp.
June 24, 2006 at 1:26 am
You can try this link you will get the basic configuration for Sql server.
http://www.microsoft.com/technet/prodtechnol/sql/2000/default.mspx
June 23, 2006 at 2:09 am
You can use "INSTEAD OF TRIGGER" on the main table & insert the data in both the tables.
June 23, 2006 at 1:57 am
June 23, 2006 at 1:49 am
June 23, 2006 at 1:19 am
Hi,
We faced the same problem last month in our db what we found was their where few web task job's running under SA account & the task was failing because we...
June 23, 2006 at 1:16 am
Viewing 15 posts - 31 through 45 (of 115 total)