Viewing 15 posts - 136 through 150 (of 2,484 total)
I believe that by definition a function that is used to set/retrieve a constant should be used as you've shown.
Putting my mis-shaped, ill-fitting programmer hat on, isn't it standard practice...
October 16, 2007 at 2:39 am
The only real problem with this approach is that you have a lot of disk access as SQL Server might have to repetitively get the same value over and over...
October 16, 2007 at 12:40 am
A much more efficient version is available here,
http://philcart.blogspot.com/2007/06/split-function.html
It uses varchar(max), so you're not limited in how many values are passed. Doesn't use a loop, so the number of values passed...
October 10, 2007 at 9:50 pm
Chung, I started doing a series of articles for DTS on my blog (http://philcart.blogspot.com/search/label/DTS), but I shelved it after looking at the Package Configurations in SQL Server 2005...
October 9, 2007 at 10:12 pm
Storing packages in SQL Server, or as structured storage files is not a big issue. An advantage for storing in SQL Server is that you can transfer packages between servers...
October 9, 2007 at 7:20 am
Nice article.
Myself, I prefer developing the package to allow easy migration, rather than designing a system to do the migration.
In DTS terms, I usually use a database table that holds...
October 9, 2007 at 5:09 am
Congrats Steve, it does only seem a short time ago that we reached 400,000. With the new site I can see the growth only going upwards.
Remi, did you do the...
September 30, 2007 at 1:35 am
Actually, can you assign applicable points to different forums? ie: make posts in the SQL Server forums +1 and post in non-SQL Server forums (editorials and such) +0??
That would cover...
September 26, 2007 at 6:10 pm
Lawrence, Grab hold of the DMVStats application from http://www.codeplex.com
The reports it uses do database inserts, etc...
I particularly like the report that allows you to enable/disable SQL Agent...
September 26, 2007 at 5:37 am
If you have the disk space, then it might be an idea to not shrink the log. Then it won't have to grow again, which adds to the time of...
September 26, 2007 at 5:35 am
Change your output to Text.
Change the options to show results as Tab-Delimited.
Run your query.
Copy the results.
Paste in Excel.
Rinse and repeat 🙂
September 26, 2007 at 5:33 am
How are you embedding the spreadsheet? What format is your email, plain-text or HTML?
You might be better served attaching the spreadsheet to the email, or getting your results in HTML...
September 26, 2007 at 5:07 am
Backup the database from the old server and restore it to a different database on the new server.
Then you can do a simple outer join between the tables and insert...
September 26, 2007 at 5:05 am
If you're brave, you can check the subscription status in the ReportServer database and email when the subscription fires. You could poll the table from a SQL Agent job.
If you're...
September 25, 2007 at 4:15 am
Hope you're not trying to create an extract file in Reporting Services. Something like DTS, SSIS or BCP is better suited to that and you can specify your own seperator.
September 25, 2007 at 4:10 am
Viewing 15 posts - 136 through 150 (of 2,484 total)