Viewing 15 posts - 4,621 through 4,635 (of 13,465 total)
well now you have the desired contents for the email; now it's just a cursor based on that query:
here's part two of the example, where you send individualized emails:
DECLARE
...
October 10, 2012 at 1:58 pm
it's been a while since i sued it but PSEXEC from the PSTools suite is designed for executing things on a remote system...there might be some permissions issues...
October 10, 2012 at 1:37 pm
this thread has a really nice powershell script Gene Hunter posted for the community:
it scripts everything.
http://www.sqlservercentral.com/Forums/Topic1240480-1351-1.aspx
October 10, 2012 at 1:33 pm
i was modifying an example named "notes" to match your data, but without the actual tables, I could not test it for valid objects.
if you can fix the syntax...
October 10, 2012 at 1:22 pm
this one is tough, because i don't have the tables to test agaisnt.
this MIGHT return the email/string you want to send.
if it does, then this query is what you would...
October 10, 2012 at 12:20 pm
your image is blocked at my work, some filesharing violation according to our IT guys......can you paste the code you are referencing instead of an image?
October 10, 2012 at 11:44 am
paruchuri4 (10/10/2012)
How to create a sql database from a xml file
you are definitely going to have to help us help you here.
what xml?
are you reading a value from the xml,...
October 10, 2012 at 9:58 am
the part of your script here:
DEFAULT 1
Alter Table Demo ADD col1 Int NOT NULL DEFAULT 1
creates a default constraint ont eh column...so you can't drop teh column until you drop...
October 10, 2012 at 9:44 am
maybe, with openrowset, and assuming there is connectivity between the two SQL servers:
here's a couple basic examples:
SELECT *
FROM OPENROWSET('SQLOLEDB','Server=yourservernamehere;Trusted_Connection=Yes;Database=Master',
...
October 10, 2012 at 8:17 am
depends completely on what you want to monitor.
Monitoring usually refers to the whole server in general .
For built in reports, go to the Object Explorer in SQL Server Management...
October 10, 2012 at 7:48 am
if you think about it at a little higher level, the question is :
how can [something] make two connections and transfer data.
just as you are seeing, the possibilities boil down...
October 10, 2012 at 6:30 am
access denied is usually because the account the SQL service is running from doesn't have access to teh specific folder the mdf exists in;
for example, if the mdf is on...
October 9, 2012 at 11:07 am
if you change form inner join to left outer joins, won't you get the desired results, where the string is in one or more tables??
October 9, 2012 at 9:36 am
thbe error is here: you are mixing the old comma delimited join style up with the newer explicit join;
you should stick with the newer version, since it makes it clearer...
October 9, 2012 at 6:48 am
ramadesai108 (10/8/2012)
siggemannen,Say for example I have a file named my127.edi. How to do bcp or bulk insert for this file?
Thanks for your time.
that's what we keep...
October 9, 2012 at 5:12 am
Viewing 15 posts - 4,621 through 4,635 (of 13,465 total)