Viewing 15 posts - 451 through 465 (of 928 total)
This uses REPLICATE to replace each character in a string with '#':
CREATE TABLE #test(
TestvalueVARCHAR(60)
);
INSERT INTO #test(Testvalue)
VALUES('one'),
('long string'),
('slightly longer string than the previous one'),
('12121212');
SELECT * FROM #test;
UPDATE #test
SET Testvalue = REPLICATE('#',LEN(Testvalue));
SELECT...
May 30, 2014 at 3:00 am
Try creating a database Diagram with the tables you're interested in. That will show the dependencies between the tables and possibly make it easier to follow.
May 16, 2014 at 9:03 am
There was an article on this quite some time back: http://www.sqlservercentral.com/articles/SELECT+*/68324/.
April 23, 2014 at 9:31 am
If you're sure of the time, I'd run a server-side trace 5 minutes either side of the time and look in that.
March 28, 2014 at 4:50 am
CptCrusty1 (3/26/2014)
March 27, 2014 at 2:25 am
An interesting question but I do think it should specify the ANSI_NULLS setting, as the answer depends upon that.
March 27, 2014 at 2:09 am
CptCrusty1 (3/26/2014)
Can you go into more detail about MAXDOP? I don't believe I've seen that, or noticed it, in BIDS containers.
In BIDS (which you didn't mention you were using) the...
March 26, 2014 at 9:37 am
In the past I've been told to specify MAXDOP of 1 if I've needed to import large files and keep the sequence, because SQL Server may decide to run parallel...
March 26, 2014 at 9:18 am
Please don't post the same question several times - it scatters the conversation over several threads.
Original article - http://www.sqlservercentral.com/Forums/Topic1548455-391-1.aspx
March 26, 2014 at 9:09 am
The various ways to specify the partition with various types of index are detailed in this article - http://technet.microsoft.com/en-us/library/ms187526(v=sql.105).aspx
March 26, 2014 at 9:04 am
Welcome to SSC.
Unfortunately the query alone is rarely enough to help with performance issues. However, this type of question is quite common and so there is an article on what...
March 24, 2014 at 9:12 am
murdakillemall (3/18/2014)
March 18, 2014 at 4:12 am
paul.knibbs (3/14/2014)
jcrawf02 (3/13/2014)Do any of you guys have random people endorse you for skills, that you know they have no idea if you can do?
I've had people who should know...
March 14, 2014 at 2:55 am
Current submissions for SQLBits XII:
March 11, 2014 at 3:47 am
Does the job history provide any information?
Right-click on the job name and select 'View History'. You'll probably have to expand the details by clicking on the '+' next to the...
March 7, 2014 at 4:25 am
Viewing 15 posts - 451 through 465 (of 928 total)