Viewing 15 posts - 2,386 through 2,400 (of 8,416 total)
GilaMonster (11/14/2010)
November 14, 2010 at 10:17 pm
SQLCLR script to delete old backup and log files (for example):
November 14, 2010 at 9:55 pm
Sample data:
CREATE SCHEMA Property
CREATE TABLE Address
...
November 14, 2010 at 9:40 pm
Jeff Moden (11/14/2010)
Although could (but not necessarily) slow things down, you need to use something like...
WHERE ISNULL(a.ExpDate,0) != b.ExpDate
:w00t: NO! :w00t:
Not only is there a horrible implicit conversion (from zero...
November 14, 2010 at 9:37 pm
Saravanan_tvr (11/12/2010)
...how can we update the values in identity column?
Delete the row and then re-insert it with the correct identity value specified explicitly.
You will need SET IDENTITY_INSERT ON for that...
November 14, 2010 at 8:53 pm
GilaMonster (11/13/2010)
With a 900 byte key I can have in index 8 levels deep with only 20000 rows.
How? Using 900 byte keys, each (non-leaf) 8096-byte index page can contain...
November 14, 2010 at 8:45 pm
vamshi.kotagiri (11/13/2010)
I have inserted 5 rows where the last identity value would be...
November 14, 2010 at 8:06 pm
Jeff Moden (11/14/2010)
November 14, 2010 at 7:53 pm
Jeff Moden (11/14/2010)
November 14, 2010 at 7:50 pm
In the meantime, I knocked together a demo based on your example, which shows TF610 working as advertised:
-- REQUIRES 2008
-- USE A DATABASE IN SIMPLE OR BULK_LOGGED MODE
-- A suitable...
November 14, 2010 at 5:49 pm
There are a couple of ways in which you might not get minimal logging in your example where ExpRow = B. Are you able to run that query (with...
November 14, 2010 at 5:46 pm
Perry Whittle (11/14/2010)
casting binary or varbinary can be unreliable depending on the collation, you would probably want to use sys.fn_varbintohexstr
How is casting binary or varbinary dependent on collation?
How does sys.fn_varbintohexstr...
November 14, 2010 at 1:43 pm
sturner (11/11/2010)
I believe it will work fine for you... you would first cast your integer or decimal data to varbinary then hand it...
November 14, 2010 at 12:54 pm
Henrico Bekker (11/11/2010)
SQL Server doesn't have a built-in function.Refer to http://support.microsoft.com/kb/104829 for solutions.
That article only applies to SQL Server versions up to 7.0 SP1!
November 14, 2010 at 12:40 pm
GSquared (11/11/2010)
November 14, 2010 at 12:30 pm
Viewing 15 posts - 2,386 through 2,400 (of 8,416 total)