Viewing 15 posts - 3,916 through 3,930 (of 13,462 total)
you could also consider a server side trace, with a filter on the HOSTNAME property to match the machine you want to watch
the problem with that is it's possible to...
March 6, 2013 at 7:57 am
balasach82 (3/6/2013)
what about using ssis to move loginsor
using management studio to script out logins and users (but it comes with default disable login option)
SSIS has a Transfer logins Task as...
March 6, 2013 at 7:37 am
balasach82 (3/6/2013)
Whats the best way to copy logins, users, logins with password along with exact status of enable/disable from source 2008 to destination server 2008
Microsoft provides a downloadable query named...
March 6, 2013 at 7:05 am
inside a cursor, that's normal; what you want to do instead of print is raise a low level error inside via RAISERROR the cursor so you can see things...
March 6, 2013 at 6:46 am
you could place GO statements between each command, but you still have to manually ignore the errors...makes it hard to determine which are "ignorable" errors and which are real.
instead, consider...
March 6, 2013 at 6:36 am
gary.p.heath (3/6/2013)
March 6, 2013 at 6:09 am
excel automatically treats anything that looks like a number as a number, dates as dates, etc
I believe you'd have to change you report of the data to explicitly place a...
March 5, 2013 at 2:41 pm
grab it again; i edited it and retested it on my machine, it seems to work now.
this is what i would use to review the trace:
--SELECT * from sys.traces
declare @TraceIDToReview...
March 5, 2013 at 12:50 pm
as far as i know, you cannot alter a user defined type.
you have to remove references to it, drop it, recreate it with a new definition, and then re-establish the...
March 5, 2013 at 12:40 pm
there's a couple of ways to tackle this, but it depends on what the focus is:
if you want to absolutely prevent the login from UPDATE, you'd create a group,...
March 5, 2013 at 12:08 pm
it's not obvious where the alias goes;
here's two examples:
SELECT POPRCTNM,
STUFF((SELECT ','+ CAST(ACTINDX AS varchar)
FROM POP30390...
March 5, 2013 at 11:24 am
a CLR has access to all tables in the scope of the transaction if you use the context connection; (ie #temp tables and @Tablevariables
one option is to have the CLR...
March 5, 2013 at 5:34 am
That trigger emulates what a column with an identity does... so you can simply define the column as having an identity and skip the trigger completely.
Create table tbname (colname int...
March 5, 2013 at 4:44 am
it's possible, but you have to register your DLL into the database as an assembly, before you can create a CLR which uses your Medical.DLL as a reference. You might...
March 4, 2013 at 2:55 pm
probably one of the best maintenance solutions out there is this free, peer reviewed, used in major production facilities and major companies solution offer by the world renowned SQL DBA...
March 4, 2013 at 2:44 pm
Viewing 15 posts - 3,916 through 3,930 (of 13,462 total)