Viewing 15 posts - 6,421 through 6,435 (of 13,469 total)
not sure about an Alert, but certainly from a scheduled job; i simply use IF EXISTS...sp_send_dbmail
i use this a lot actually, here's a rough example:
IF EXISTS(SELECT *
...
November 14, 2011 at 1:19 pm
for reference, this DDL trigger worked for me;
ALTER TRIGGER [Create_Database_Trigger]
ON ALL Server
WITH EXECUTE AS 'sa'
FOR Create_Database -- Captures a Create Database Event
AS
DECLARE
...
November 14, 2011 at 10:09 am
somewhere in there you need something like this: that was a partial from my own version of a DDL trigger:
DECLARE @msg XML
SET @msg = EVENTDATA()
--replace also msg. with @msg.
November 14, 2011 at 9:56 am
GilaMonster (11/14/2011)
November 14, 2011 at 9:21 am
sounds like a networking issue with the WINS(Windows Internet Name Service)
are you on a network with a primary domain controller providing that service, or just happen to be on a...
November 14, 2011 at 8:53 am
PaulB-TheOneAndOnly (11/14/2011)
About tools... yes!... Brain 1.0 has been very useful 🙂
kewl! where can i download that?! 😀
November 14, 2011 at 6:09 am
shubham.saxena67 (11/12/2011)
Dear Friends,I want to convert stored procedure that containing Loops ,Table valued
functions,Scalar Function written in Oracle to SQL Procedure and functions
Is there any tool ?
Thanks!!
no, there's no...
November 12, 2011 at 5:38 am
WinMerge has a great GUI, windiff can be called forma command line, they are for comparing two text files for differences...is that what you are after?
November 11, 2011 at 11:40 am
i think the issue is related to teh name not being #tbl_temptable, but actually [#tbl_temptable[100underscores]0000000000F0]
for example. if you do this after you know your table exists :
SELECT table_name,
column_name 'Column...
November 11, 2011 at 11:32 am
the INTO belongs outside of the openquery:
CODE
SELECT *
into #tlb_testfile
FROM OPENQUERY(test_TERADATA,
'select *
from databse.file
where
datacode=''49548''
;')
November 11, 2011 at 10:33 am
if you have a datetime column for WHEN the data was actually entered, you could compare that to a TallyCalendar table(which you wanted to avoid) and get the DST offset.(ie...
November 11, 2011 at 10:31 am
sp_changeobjectowner 'wrongschema.procname','dbo'
November 11, 2011 at 10:19 am
a lot of the work around examples so far would return false positives if the values are two or more digits, thought right? 2|5|21|23|55 for example
redesign, or split the data...
November 11, 2011 at 10:10 am
Ninja's_RGR'us (11/11/2011)
SQL takes memory because it needs it and lives happily ever after. Period, end of story.
there. fixed it for you. 😛
November 11, 2011 at 9:52 am
ok peers: poke holes in this: this seems to do what the oldstype autfox would do, right?
well...this just generates the statements...i'd have to execute them:
SELECT CASE
...
November 11, 2011 at 9:48 am
Viewing 15 posts - 6,421 through 6,435 (of 13,469 total)