Viewing 15 posts - 4,426 through 4,440 (of 7,164 total)
The desire to use of an object name stored in a variable to build a query, e.g.
DECLARE @tableName SYSNAME;
SET @tableName = N'MyTable';
SELECT Column
FROM @tableName;
usually indicates a flawed design. Mind...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 2:24 pm
I just tested it out...you can add the user to model and put it in the db_owner Role and anytime a new DB is created the user will be there....
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 1:24 pm
GilaMonster (4/19/2012)
opc.three (4/19/2012)
You can retrieve the actual plan for your session, check out this article for next time:
That gets an...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 1:13 pm
You can retrieve the actual plan for your session, check out this article for next time:
Viewing the Execution Plan of a Running Query in SQL Server
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 12:55 pm
Lynn Pettis (4/19/2012)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 12:42 pm
Tristan Chiappisi (4/19/2012)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 12:29 pm
Which SSIS data type are you converting the string to?
See section "Mapping Integration Services Data Types to Database Data Types" on Integration Services Data Types to ensure you are using...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 12:04 pm
It is true that BEGIN / END adds clarity, but it does not release us from separating our batches with GO, i.e. this still produces an incorrect result:
use tempdb
go
create proc...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 11:56 am
I am not sure how you would do this in one WMI query. I would setup two watchers in sequence...when the first watcher finds a file it will pass control...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 9:57 am
HowardW (4/19/2012)
opc.three (4/19/2012)
itskanchanhere (4/19/2012)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 9:46 am
USE database_name
DECLARE @sql NVARCHAR(MAX);
SET @sql = N'';
SELECT @sql = @sql + 'EXEC master.dbo.sp_help_revlogin @login_name = N''' + sp.name + ''';
'
FROM sys.database_principals dp
...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 9:44 am
Get Back into SQL Server After You've Locked Yourself Out
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 9:29 am
itskanchanhere (4/19/2012)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 9:27 am
Perry Whittle (4/18/2012)
opc.three (4/18/2012)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 19, 2012 at 9:18 am
This is a shot in the dark because I cannot see what you see, but sometimes when compiling procedures additional code slips into the procedure definition if your batches are...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 18, 2012 at 11:30 pm
Viewing 15 posts - 4,426 through 4,440 (of 7,164 total)