Viewing 15 posts - 691 through 705 (of 1,315 total)
DBCC DBREINDEX creates new indexes before dropping the old ones. This is done as one atomic transaction, so a lot of free space may be required.
If it is rebuilding a...
November 22, 2006 at 7:25 am
SQL Server doesn't seem to mind orphaned users caused by restoring backups from one server to another server with different logins. You could take advantage of this by creating a...
November 22, 2006 at 6:48 am
If you want to check a large number of packages, it may be worthwhile to use VB.NET with the DTSPackage Object Library. Enumerate the packages on a server (or package...
November 10, 2006 at 9:16 am
"referencing the same table on both the source & destination sides"
As they say on http://www.thedailywtf.com, "My eyes! The goggles, they do nothing!". I guess I hadn't considered the possibility...
November 9, 2006 at 11:20 am
I realize that there are financial and physical constraints that make this difficult, but your first goal in configuring a SQL Server is to add all the memory in the...
November 9, 2006 at 10:50 am
The answer, as in many other cases, is "It depends.". In general, if you can find a set-based way to do things in T-SQL it will probably the best approach. On...
November 9, 2006 at 9:46 am
Download a free trial version of a monitoring tool like Quest's Spotlight on SQL Server. It gives you a graphical interface for almost every performance metric you can imagine. Whatever is...
November 8, 2006 at 11:44 am
Once you appreciate that end-of-line is no more significant in T-SQL than space or tab, using multiline string literals will seem a lot clearer than concatenating char(13) everywhere. The color-coding tells...
November 7, 2006 at 8:19 am
When I run it the GO is on a separate line. The last version you posted works, also.
Are you running this with results to grid or results to text? It...
November 6, 2006 at 12:14 pm
SELECT REPLACE(REPLACE('exec my_proc ''XX'',''YY''
','XX',NAME),'YY',LEFT(NAME,2)) + 'GO' FROM MASTER..SYSDATABASES WITH(NOLOCK)
WHERE DBID>5
November 6, 2006 at 10:58 am
Even if you don't have previous backups, backup what you have before proceeding. You could also try to copy whatever you can get out of the the corrupt tables using...
November 6, 2006 at 10:52 am
If this is being generated by T-SQL you can use multiline strings. The problem is that the GO command in a quoted string works just like GO anywhere else, it...
November 6, 2006 at 5:37 am
The "Warning: Null value is eliminated by an aggregate or other SET operation." message means you had an aggregate function such as SUM() or AVERAGE() on data that included a null value...
November 6, 2006 at 5:16 am
There appear to be several misconceptions in that post.
When you create a package configuration, the current property value is written. If you later change that value in design mode, the...
November 2, 2006 at 3:12 pm
The only thing I found related to timing was that if a property or variable was set more than once, the last setting would be in effect when the package...
October 30, 2006 at 8:11 am
Viewing 15 posts - 691 through 705 (of 1,315 total)