Viewing 15 posts - 5,626 through 5,640 (of 13,460 total)
constant strings have to be quoted out i think,
so I'm fairly sure this is the right syntax:
$BackupFiles=get-childItem -name -include "*_"+$NumberOfWeek+"_*"
Lowell
April 9, 2012 at 12:39 pm
i prefer the extended properties, because they stay with the database they are describing;
that's really the purpose of the extended properties anyway;
it also makes it a lot easier for any...
Lowell
April 9, 2012 at 9:03 am
you are correct; dynamic SQL is not allowed in a UDF, dynamic SQL limits you to either a procedure or ad-hoc code that will need to be built and executed...
Lowell
April 9, 2012 at 8:07 am
a person with db_owner permissions has the ability to backup, restore, or even drop their own database, i believe.
that's very easy to test.
Lowell
April 9, 2012 at 6:08 am
well it sounds like there is a few things going wrong here; is this a CLR trigger or a regular TSQL trigger? a TSQL trigger should not be going to...
Lowell
April 9, 2012 at 5:32 am
welsh can you go to one of your servers you know you already set up and is working, and use my script to reverse engineer database mail settings?
then you can...
Lowell
April 7, 2012 at 2:22 pm
i think if you look at the profile, the checkbox for "This server requires a secure connection(SSL) is checked.
the error message says the mail server doesn't support SSL for that...
Lowell
April 7, 2012 at 1:46 pm
ok based on your table scheme you posted, this correctly builds a string and prints it, listing only columns that CHANGED, along with some hopefully helpful audit information.
I'll leave it...
Lowell
April 6, 2012 at 2:12 pm
ok, one of the things you'll run into first is permissions to send mail inside the trigger.
EVERY user that can access the table will need to a user in the...
Lowell
April 6, 2012 at 1:31 pm
how many columns are"critical" that you have to track for changes in the table to be emailed?
It would be pretty easy to modify my example, but i'd like to see...
Lowell
April 6, 2012 at 1:11 pm
here's an example i put together for a different post;
it's getting inserted items, putting them into a comma delimited string(because of course the trigger could have multiple rows!)
for your trigger,...
Lowell
April 6, 2012 at 12:57 pm
capn.hector (4/6/2012)
Lowell
April 6, 2012 at 7:57 am
are you storing just the xml in the database, or processing the xml?
if you are processing the xml, don't you stick the data into a Product Sold Table somewhere? then...
Lowell
April 6, 2012 at 6:06 am
also, save the script as a txt / sql file, not a word doc; depending on your settings for autocorrect, some words could get changed from the actual script in...
Lowell
April 6, 2012 at 4:58 am
Welsh Corgi (4/5/2012)
Lowell,Hey yeah your right, thanks.
Whatever happened to your Dog Avatar? I liked it. What model is that Gas:-) Mask? I did not see that one before.
yeah my dog...
Lowell
April 5, 2012 at 2:44 pm
Viewing 15 posts - 5,626 through 5,640 (of 13,460 total)