Viewing 15 posts - 196 through 210 (of 398 total)
Check
query governor cost limit setting on server.
April 15, 2004 at 7:23 am
Add the user as member to the specific database roles.
Particular db_datawriter and db_datareader.
April 9, 2004 at 8:34 am
What's difference between 7.0 standard edition instance which have the problem and other 7.0 instances. Are other 7.0 instances not standard edition?
What's sp version on both...
April 9, 2004 at 8:22 am
Little change to the code.
SET @findSQL = 'declare @suppress sysname;SELECT @suppress=table_name FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = @vOwner AND TABLE_NAME = @vTblname AND COLUMN_NAME = @vColname'
SET @parmdef = N'@vOwner...
April 8, 2004 at 7:18 pm
script dbcc dbreindex to exclude those 'large tables'
April 8, 2004 at 9:16 am
select ascii(alpha) - 65
or
select ascii(upper(alpha)) - 65
April 8, 2004 at 9:04 am
It works for me (sql2000 sp3).
case approved when 1 then approvedvalue else unapprovedvalue end
April 8, 2004 at 9:00 am
Openquery if you have linked server
or
openrowset
April 8, 2004 at 8:17 am
Get sql collation info from
exec sp_helpsort
Not sure about db2 link, it may relate to OLEDB provider.
April 8, 2004 at 8:13 am
Check Autostart SQL Server Agent option when the operating system starts.
April 8, 2004 at 7:53 am
isqlw -Sservername
April 8, 2004 at 7:50 am
No hard-coded table name in trigger and works for any number of columns.
Create Trigger tr_admin
-- list all columns that were changed
On admin
For Update
As
SET NOCOUNT On
declare @intCountColumn int, @n int, @tblname sysname
select...
April 8, 2004 at 5:38 am
Table with any number of columns
create Trigger tr_admin
-- list all columns that were changed
On admin
For Update
As
SET NOCOUNT OFF
declare @intCountColumn int, @n int
-- count columns in the table
SELECT @intCountColumn = Count(Ordinal_position)-1
FROM...
April 8, 2004 at 1:45 am
if admin table has 8 column or less
create Trigger tr_admin
-- list all columns that were changed
On admin
For Update
As
SET NOCOUNT OFF
declare @intCountColumn int
-- count columns in the table
SELECT @intCountColumn = Count(Ordinal_position)-1
FROM...
April 8, 2004 at 1:10 am
Viewing 15 posts - 196 through 210 (of 398 total)