Viewing 15 posts - 1,681 through 1,695 (of 13,460 total)
i'd start with the basics: who has sysadmin, who has db_owner and in what database.
grab a copy of Brent Ozar's sp_blitz, and run that, it gives a nice, quick overview...
Lowell
June 23, 2015 at 1:50 pm
what i would do:
change the alert to call a stored procedure.
Have that stored procedure insert details into a table.
have a separate job run every two hours that emails you a...
Lowell
June 23, 2015 at 1:32 pm
hmm; how big is the attachment, then? what is the attachment extension name? or at least how many rows in the query?
specific mail servers often have rules on attachment size,...
Lowell
June 22, 2015 at 7:48 am
Mailbox unavailable implies the wring target email ;you are sending to a full email address, right?
you must be sending to "happy55@somedomain.com", and not hoping exchange will convert "happy55"...
Lowell
June 22, 2015 at 6:15 am
i liked the suggestion above, to create a view which includes @@Servername and db_name() as columns.
did you try it, or can you say why that will not work for...
Lowell
June 22, 2015 at 5:35 am
it doesn''t work is pretty vague;
It sounds like you are sending, but the mail doesn't go through; that's where you want to look at the mail logs and see what...
Lowell
June 22, 2015 at 5:18 am
meerack11 (6/19/2015)
Lowell
June 19, 2015 at 1:27 pm
meerack11 (6/19/2015)
Yes I also try it but show me nothing if string has space then it not show the result
and that would be normal. equal means equal, not...
Lowell
June 19, 2015 at 12:21 pm
As Alvin said, one of the strings has an extra "4" in the middle; if the texts are lined up, it's easy to see.
select * from Gl_code_data where Gl_code='602-43335_Planning -...
Lowell
June 19, 2015 at 12:09 pm
I'd bet the issue is unqualified database name;
@query= 'EXEC test,
needs to be soemthing that can be run form another database context , ie msdb or master
@query= 'EXEC SandBox.dbo.test', would probably...
Lowell
June 19, 2015 at 11:06 am
mark.dickinson (6/18/2015)
Lowell (6/18/2015)
i think the OP is...
Lowell
June 18, 2015 at 9:01 am
i think a logon trigger is the wrong device in this case.I don't think the database named in a connection string has much relevance.
i think the OP is really looking...
Lowell
June 18, 2015 at 8:43 am
there's no guarantee that EVERY row contains the search term, so you need to include that check in your WHERE.
update MyTable
set Description = LEFT(Description(CHARINDEX('<',Description)-1))
where CHARINDEX('<',Description) > 0
AND myid...
Lowell
June 16, 2015 at 2:24 pm
yeah i'd go programming language on this, whether SSIS, Powershell C# ,VB.Net, or whatever you are
comfortable with.
As Eric said zip functions and conversions are not native to SQL, so you...
Lowell
June 16, 2015 at 12:16 pm
jpserra3 (6/15/2015)
Lowell
June 16, 2015 at 12:09 pm
Viewing 15 posts - 1,681 through 1,695 (of 13,460 total)