Viewing 15 posts - 196 through 210 (of 264 total)
A question that enables most people to get the correct answer after some careful thought is by no means "too simple". Especially as over 1/3 of respondants have got it...
May 11, 2011 at 4:24 am
Thanks, nice to have one that relies on logic as well as "book learning" 😉
May 10, 2011 at 4:52 am
Michael Valentine Jones (4/27/2011)
You can use them on most major airlines for free upgrades to DBA class.Just ask at the ticket counter when you check in.
The prospect of a long-haul...
April 28, 2011 at 4:33 am
GSquared (4/27/2011)
Richard Warr (4/27/2011)
April 27, 2011 at 12:50 pm
Nice question and an interesting example. Would renaming the columns "Telephone 1" and "Telephone 2" to "Home Phone" and "Mobile Phone" mean that the table was then in 1NF?
April 27, 2011 at 3:42 am
Is this the filtered index introduced in SQL Server 2008? See if this rings any bells:
April 26, 2011 at 9:59 am
I agree with Alan. I've worked from home before and always found it hard to switch off. Now I have a 75-minute trip each way but when I'm home I'm...
April 26, 2011 at 9:52 am
Hi Sharon,
Another way is:
select SUBSTRING(@s,CHARINDEX('sum=',@s,1)+4,CHARINDEX('sum',@s,CHARINDEX('sum=',@s,1)+1) - CHARINDEX('sum=',@s,1)-4)
where @s-2 is your original string.
April 26, 2011 at 4:33 am
Although the OP is over seven years old it's clear that there are still lessons to be learned here for many of us. Is it really a requirement to have...
April 26, 2011 at 4:19 am
There should have been a fifth choice.
"Ring the DBA and tell him you wand Service Broker enabled"
April 21, 2011 at 7:50 am
cengland0 (4/20/2011)
April 20, 2011 at 3:23 am
Can you say
SELECT OrderNumber COLLATE SQL_Latin1_General_CP1_CI_AS
FROM [SERVERB].[DatabaseB].dbo.[TableB][/quote]
in the second bit?
April 12, 2011 at 8:50 am
Thanks for all the useful tips and advice. I'll have a look at Mike's article over the weekend plus some of the other resources mentioned.
It's a sunny spring day...
April 8, 2011 at 10:14 am
SELECT RIGHT('000'+CAST(CAST(MyField AS INT) AS VARCHAR(4)),4) should do the trick
April 7, 2011 at 7:32 am
Good question. Being in London (where we speak a 'foreign' version of English) helped to get it right.:-)
April 6, 2011 at 3:31 am
Viewing 15 posts - 196 through 210 (of 264 total)