Viewing 15 posts - 646 through 660 (of 700 total)
sp_MSforeachtable @command1="select count(*), '?' from ?"
April 6, 2006 at 10:28 am
Note that if the value you are testing is blank or just spaces, then either LTRIM or RTRIM will reduce it to a zero-length string. You don't need to do...
April 6, 2006 at 10:16 am
Have you started the service with trace flag 1400?
See: http://support.microsoft.com/default.aspx?scid=kb;en-us;907741
[Quoting the above article]
Currently, Microsoft support policies do not apply to the database mirroring feature in Microsoft SQL Server 2005.
By default,...
April 5, 2006 at 9:05 am
Placing the "$" character in front of a formatted number makes it a character value, which is not a number, and cannot be stored as a number.
Formatting rules are not...
April 4, 2006 at 10:54 am
#include usual and customary warnings about using undocumented features (test outside of production, have good backups, etc.)
...that being said...
There is an undocumented trace flag that will disable lock escalation. I...
April 4, 2006 at 9:48 am
I've used that technique - performing an XSLT translation on data to convert it to an Updategram document - several times to deal with stuffing data from several different sources...
April 4, 2006 at 8:30 am
> I’ve noticed in the search option for adding logins the only object types for logins that are available are "users", "groups" and “Built-in security...
April 3, 2006 at 10:12 pm
With few execptions (bulk inserts in the bulk-logged recovery model), all database changes are written to the log first. Later, another process captures those changes that have been committed and...
March 31, 2006 at 4:06 pm
Using it for what purpose? Reading in XML? Producing results as XML? Using the SQLXML ISAPI framework with template queries? Updategrams & diffgrams created with XSLT transformations of inbound XML...
March 31, 2006 at 3:56 pm
Eight years ago, answering this question spawned an entire industry.
You could put something together with a derived table, by adding a column to your original query, wrapping at all up...
March 31, 2006 at 12:06 pm
> What do you mean by foreign key column?
In an enforced relationship, there are two sides to the equation: The parent table (such as a list of customers), and the...
March 30, 2006 at 10:16 am
Create a nonclustered index on the foreign key column(s). Then the relationship-checking will use the indexes instead of running through the entire table. SQL Server automatically creates an index on...
March 29, 2006 at 3:09 pm
If I were an internal admin, and it would be my butt on the line or me getting the midnight call when there was a problem with the server, then...
March 28, 2006 at 10:51 am
It's stored in sysindexes, although that number isn't always up to date. Take a look in BOL for the system stored procedure sp_spaceused for the recommended way to retreive that...
March 26, 2006 at 11:28 pm
Viewing 15 posts - 646 through 660 (of 700 total)