Viewing 15 posts - 1,711 through 1,725 (of 2,072 total)
Does sqlagent has sysadmin rights?
Allows a member of the sysadmin fixed server role or db_owner fixed database role to impersonate another user.
<IMG style="MARGIN-LEFT: 0em" height=11 alt="" src="mk:@MSITStore
January 25, 2006 at 11:53 am
sp_grantdbaccess grants access to a database
Use sp_grantlogin to reverse the effects of a previous sp_denylogin that has been executed for a Windows NT user.
Use sp_addlogin to allow a SQL Server...
January 25, 2006 at 11:51 am
Work Table? You mean a table to dump all your information in for further processing?
January 25, 2006 at 11:44 am
With which tool you see <binary> (EM?)
I see the different values with query analyzer.
January 25, 2006 at 11:43 am
Since sa is a systemadministrator, they have full access (no permission checking).
If normal accounts are used you can make views
CREATE VIEW ABC AS
SELECT ... FROM ...
WHERE entry.USER_ID= SUSER_SID
WITH...
January 25, 2006 at 11:34 am
SCHEMABINDING:
Binds the view to the schema. When SCHEMABINDING is specified, the select_statement must include the two-part names (owner.object) of tables, views, or user-defined functions referenced.
Views or tables...
January 24, 2006 at 6:48 am
Any scheduled jobs?
If you know it happens every hour, you could set up a trace for it in sql profiler.
January 23, 2006 at 10:55 am
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbcsql/od_odbc_c_99yd.asp
lngResult = SQLConfigDataSource(0, _
ODBC_ADD_SYS_DSN, _
"SQL Server", _
"DSN=" & JDS_DSN_name & Chr(0) & _
"Server=" & JDS_Server_name & Chr(0) & _
"Database=SvCvMarketing" & Chr(0) & _
"UseProcForPrepare=Yes"...
January 23, 2006 at 10:48 am
there is a setting ANSI_NULLS ON/OFF
ANSI_NULLS ON -> left join (NULL=NULL) =false
ANSI_NULLS OFF -> left join (NULL=NULL) =TRUE
January 23, 2006 at 10:39 am
RTRIM('ABCD ') strips off trailing whitespace
January 23, 2006 at 10:31 am
http://www.microsoft.com/technet/abouttn/subscriptions/flash/tips/tips_042705.mspx
Trace flag 2861 causes SQL Server to cache query plans for trivial queries that have a cost of zero or close to zero. SQL Server typically won't cache plans...
January 23, 2006 at 10:25 am
The restrict in the JOIN is preferred since it limits the amount of rows the where clause has to process. (like a virtual table)
They do give the same results at...
January 23, 2006 at 4:12 am
This is quite simple using the INSERTED (containing updated values) AND DELETED table (containing deleted values)
CREATE TRIGGER TR_UPDATE_ART_INSERT_TO on ARTTABLE
FOR UPDATE /*only updates*/
AS
SET NOCOUNT ON /*reduce unnecessary roundtrip to client*/
INSERT INTO...
January 22, 2006 at 11:13 am
SELECT CLASS_ROOM FROM CLASS MyCLASSES WHERE
EXISTS /*return every matching classroom if there is a related class that fullfills the condition; added CM.CLASS_ID=MyCLASSES.CLASS_ID*/
(
SELECT CLASS_ID FROM CLASS_MODULE CM WHERE YEAR = @YEAR AND...
January 22, 2006 at 9:12 am
A reason for sucking up additional nt extents instead of using the available place could be the original fillfactor of an index.
If you had an original table with an index...
January 22, 2006 at 9:05 am
Viewing 15 posts - 1,711 through 1,725 (of 2,072 total)