Viewing 15 posts - 481 through 495 (of 2,486 total)
Save yourself some grief dealing with Outlook profiles and MAPI. Get xp_smtp_sendmail from http://www.sqldev.net
Once the DLL is registered in SQL Server there is no further setup required. It just...
January 16, 2006 at 2:54 pm
ExecuteWithResults expects a resultset to be returned so you can't execute this as a batch because the 'GO' signifies multiple batches.
You should be able to execute it using ExecuteImmediate and...
January 15, 2006 at 3:21 pm
How about using Reporting Services?
Using Web Service calls you can render any given report in the format you require and then you can email out the result.
January 15, 2006 at 3:16 pm
I think the reference to installing software is for mail servers, etc...
January 12, 2006 at 2:49 pm
Done it many times without any problems.
January 11, 2006 at 10:14 pm
Jeff, thanks for illustrating what I said
"Of course with these samples you could remove the WHILE loop and copy the CHAR/SUBSTRING for as...
January 11, 2006 at 9:55 pm
I'd have to agree with that. Nothing better than a user saying how easy xyz job is now they have application abc.
January 11, 2006 at 8:26 pm
Ahhh ... renamed all but the DECLARE ... DOH!!!
Also, dredged this up which works as well.
DECLARE @MyCode varchar(6) DECLARE @Min int DECLARE @Max int;SET @MyCode = '' SET @Min = 65 SET...
January 11, 2006 at 6:46 pm
If you goal is to generate a random six character string, then this seems to work. The main problem in generating random numbers in SQL Server is providing an appropriate...
January 11, 2006 at 6:09 pm
Joe has pretty much got everything covered. Although, I'd probably add one more,
How much load is the app/db processing going to put on the server?
We had an application setup recently that...
January 11, 2006 at 7:35 am
No, there is no report bursting capability in Reporting Services. We came up against the same issue and had to re-work how the report is produced.
You can approach it a...
January 10, 2006 at 4:02 pm
Take a look at my script over here
http://www.sqlserver.org.au/resources/ViewResource.aspx?resourceId=40
January 10, 2006 at 3:49 pm
If all you want is success or failure messages from DTS, then take a look at the DTSSMTP Mail Task over at http://www.sqldev.net
This uses basic SMTP mail settings and...
January 9, 2006 at 3:02 pm
Well if you're going to have that many values, using them is the IN clause of a WHERE is the wrong way to approach it. You'll have a large performance...
January 9, 2006 at 6:05 am
Pass your list of values to a table function that splits the values into separate records.
EG:
SELECT * FROM tablename tbl INNER JOIN [table_function_name](@search_clause, ',') as Itm ON tbl.columnname = Itm.Items
This is...
January 9, 2006 at 12:12 am
Viewing 15 posts - 481 through 495 (of 2,486 total)