Viewing 15 posts - 5,851 through 5,865 (of 13,460 total)
size will not change until you stop and restart the server.
at that time tempdb , since it will be recreated, will change to 10G instead of it's current size.
I don't...
Lowell
March 2, 2012 at 1:16 pm
sudnya_s (3/2/2012)
I am seeing the same behavior. Auto close resets to true after a detach and attach.
yeah, as we explained above, if you are running an EXPRESS version, NO MATTER...
Lowell
March 2, 2012 at 9:49 am
also, look at my forum post here:
Reverse Engineer DatabaseMail Settings
where i answered my own question with a TSQL script;
note the core issue is the CREDENTIAL for the SMTP user ;...
Lowell
March 2, 2012 at 7:16 am
i think this is going to get what you are after; i'm returning true/false based on the value of the first 4 bytes; with that i think you can see...
Lowell
March 2, 2012 at 6:20 am
how about a calculated , persisted column using either a hash or binary checksum, and a unique constraint on that? that gets rid of triggers and is self maintaining.
ALTER TABLE...
Lowell
March 2, 2012 at 5:42 am
--#################################################################################################
--Begin Event definitions
--#################################################################################################
exec sp_trace_setevent @traceidout,114,1,@on --Audit Schema Object Access Event,TextData
exec sp_trace_setevent @traceidout,114,3,@on --Audit Schema Object Access Event,DatabaseID
exec sp_trace_setevent @traceidout,114,8,@on...
Lowell
March 1, 2012 at 4:02 pm
another possibility could be that the linked servers on DEV and LIVE have the same names, but different definitions.
it's not obvious, but you can create a linked server with any...
Lowell
March 1, 2012 at 11:19 am
does the select statement i'm providing produce the list of items that would need to be updated;
you didn't mention the actual table naem to be updated...you'll need to change that.
it...
Lowell
March 1, 2012 at 11:04 am
here's just one way to do it;
this strips out every char that is a-z,A-Z and 0-9, leaving, i assume, what would be the word separators, like space, dash, comma,...
Lowell
March 1, 2012 at 9:03 am
Roger Lindsay (3/1/2012)
There is no need to restart is single user mode, you run a scheduled task as nt authority\system.http://sev17.com/2011/10/gaining-sql-server-sysadmin-access/%5B/url%5D
I had not seen that technique, Roger.
Thanks for the link!
Lowell
March 1, 2012 at 6:50 am
your issue is integer division;
in sql server, if you divide an integer by an integer, you get an integer...bot a decimal that you might get in a programming language.
so 99/100...
Lowell
February 29, 2012 at 8:05 pm
you can test whether the synonym exists in the proc and bailout if necessary.
Create Procedure DoStuff
AS
BEGIN
IF (SELECT OBJECT_ID('REMOTETABLE','SN')) IS NULL
RAISERROR('Required Synonym [REMOTETABLE] does not exist!',16,1)
--do stuff
END --PROC
Lowell
February 29, 2012 at 3:12 pm
how many objects are being accessed via the linked server?
you might consider creating synonyms for the objects. if there is a zillion of them, or dynamic SQL is being used,t...
Lowell
February 29, 2012 at 2:51 pm
sunny.tjk (2/29/2012)
Thanks Lowell.Please correct me if I'm wrong--Isn't 32767 the databaseid of resource database?
I'm sorry, i'm completely uninformed on that and i have no idea .
in my 2008 dev version,...
Lowell
February 29, 2012 at 11:12 am
i added your filter to a trace and used my tool to script it back out;
--#################################################################################################
--begin filter definitions
--#################################################################################################
-- WHERE 1 = 1
exec sp_trace_setfilter @traceidout,3,0,1,32767 -- AND...
Lowell
February 29, 2012 at 9:45 am
Viewing 15 posts - 5,851 through 5,865 (of 13,460 total)