Viewing 15 posts - 151 through 165 (of 361 total)
when you ran the ddl scripts on the publisher did they get created in the correct Schema?
That's the one thing I can think of.
~Craig
Craig Outcalt
December 3, 2009 at 8:46 pm
jim.taylor (11/30/2009)
I'm confused, if DateTime is only precise to 3.33 ms, why then is the answer just 1 ms off? Why not 3 ms?
SQL Server rounded down to 100...
Craig Outcalt
November 30, 2009 at 8:37 am
I have a C# program that uses SMO to script out objects into individual files.
I call that program with a batch file and then use SVN to commit...
Craig Outcalt
October 30, 2009 at 9:37 am
I have one question about the WRITETEXT.. I've never used that - but would that require me to copy all data except for the NTEXT field to the dest table...
Craig Outcalt
October 12, 2009 at 3:27 pm
2 words:
Slow Disk.
disk i/o is almost always the bottleneck in a database.
Your system could use a little more RAM, too. that would help. Reducing demand is...
Craig Outcalt
October 12, 2009 at 3:04 pm
I don't have a solid answer for you, but I do know that your ntext data is stored off-row and SQL server uses a pointer to find it. those...
Craig Outcalt
October 12, 2009 at 1:18 pm
CT should have an identity, right?
otherwise we'd have to make up a number and insert it.
If I understand your example you'd join P1, P2, and P3 in the from clause...
Craig Outcalt
September 17, 2009 at 3:21 pm
Are you using Microsoft clustering or a third party like Veritas (VCS) ?
~BOT
Craig Outcalt
September 17, 2009 at 3:11 pm
Lynn wins!
here's the synthesis that skips the scalar function.
--
--
SELECT
p.number,
cast((SELECT '' + cast(case when p.number & POWER(2,v.number) = 0 then '0' else '1' end as char(1))
...
Craig Outcalt
September 15, 2009 at 10:29 am
Jonathan,
Brilliant! Thanks.
I like the power and bitmask method of conversion.
That beats the modulus and division method (I think).
I should have specified that I wanted to use a tally table...
Craig Outcalt
September 15, 2009 at 9:10 am
Correct, Lynn.
I'm looking to have an integer input column and varchar output like below
150 -> 10010110
255 -> 11111111
Craig Outcalt
September 15, 2009 at 8:46 am
Surrogate keys are still the devil.
The problems they prevent pale in comparison to the problems they cause.
That being said, this is far and away the best solution if you...
Craig Outcalt
September 8, 2009 at 7:12 am
If I understand your question you want to know how to join a table on 2 columns?
let's do an example:
table1
column a
column b
table2
column a
column c
delete table1
from table1 t1 inner join...
Craig Outcalt
August 28, 2009 at 2:14 pm
unless I'm missing something, you do not need to use an iteration to delete your target rows.
simply use a join in the FROM clause in your delete statement.
there are good...
Craig Outcalt
August 28, 2009 at 12:44 pm
Try the DAC first.
http://msdn.microsoft.com/en-us/library/ms189595%28SQL.90%29.aspx
~sqlbot
Craig Outcalt
August 26, 2009 at 8:21 am
Viewing 15 posts - 151 through 165 (of 361 total)