Viewing 15 posts - 166 through 180 (of 458 total)
I'd work in sp_msforeachdb as well as my favorite means to search all procedures:
SELECT * FROM INFORMATION_SCHEMA.ROUTINES
WHERE ROUTINE_DEFINITION LIKE '%INSERT%'
OR ROUTINE_DEFINITION LIKE '%UPDATE%'
i.e...
exec sp_msforeachdb 'INSERT #my_procedures (db_nm, procedure_nm)
SELECT ''?''...
June 7, 2007 at 1:24 pm
I'd begin by deciding what columns have to match in order to consider two rows a duplicate of each other. Also ensure you have a candidate key in the...
June 7, 2007 at 1:16 pm
There isn't one to my knowledge. From the GUI you can either go into the properties of the role or the properties of the object.
You sure you want to...
June 7, 2007 at 1:12 pm
You can also go into report manager and use Upload File. Or enter the properties tab of a report and under General -> Report Definition click "Update" for existing...
June 5, 2007 at 12:48 pm
There's a bunch of utilities that can do this for you. A google search for "decrypt stored procedure sql server" should yield results.
May 31, 2007 at 9:57 am
This should work...
SELECT * FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_DEFINITION LIKE '%mycolumn%'
May 30, 2007 at 9:49 am
I think you're confused about the licensing issue there Adam, you can run multiple instances on the same physical hardware without purchasing additional licenses. If you're using CALs, you...
May 29, 2007 at 5:40 pm
The traditional way is to create a set of identical audit tables to those you are updating/deleting and create audit triggers... something like:
CREATE TRIGGER aud_myTable_upddel
ON myTable
AFTER UPDATE, DELETE
AS
IF @@ROWCOUNT...
May 29, 2007 at 1:16 pm
There was a good article on consolidation on this site a while back. I'm sure if you searh for it you can find it.
I did a server consolidation project...
May 24, 2007 at 12:18 pm
I'd be a little concerned if I were you. The key constraints are there to preserve data integrity. I'd recommend you fix your data first so that it...
May 23, 2007 at 10:56 am
Since you're posting in the SQL Server 2005 forum you should also consider using PIVOT to do this.
May 22, 2007 at 11:37 am
If you want to strip out the time, the fastest way (supposedly) is to do something like this...
DATEADD(dd, CONVERT(FLOAT, GETDATE()), 0)
I think that's what you're getting at...
May 22, 2007 at 10:20 am
Read up in BOL on how foreign key constraints work?
You're trying to do an insert to a table and violating the constraint listed there on the Building_Id column. Make...
May 22, 2007 at 10:18 am
I do something like this right now. You're going to want to query the following tables in your ReportServer database:
dbo.Catalog (contains report names and locations, as well as data...
May 18, 2007 at 11:31 am
Well, you need to create a column, create a key/certificate and create the procedures necessary to encrypt and decrypt the data in the column. I've found some good posts...
May 10, 2007 at 11:39 am
Viewing 15 posts - 166 through 180 (of 458 total)