Viewing 15 posts - 16 through 30 (of 42 total)
dallas-1069889 (5/3/2011)
April 26, 2011
One of the action items from the previous day’s partial outage was...
May 3, 2011 at 7:52 pm
Your post reminded me of a great quote:
The factory of the future will have only two employees, a man and a dog. The man will be there to feed the...
May 3, 2011 at 5:05 am
Hugo Kornelis (11/4/2010)
November 4, 2010 at 8:01 am
The existence of the Distinct in the query confused me, at first.
The key to using the Over as opposed to doing a Group By is really when you want to...
November 4, 2010 at 7:48 am
As I read the question I muttered under my breath, "I think that's configurable". So, when I was pleased when that was an answer choice.
Thank you for submitting the question.
July 9, 2010 at 8:30 am
The other choice would be to only store offsets for various timezones. The trick is going to be striking the correct balance between storage and processing. It is somewhat similar...
July 8, 2010 at 6:55 am
My first reading of the third option -- Useful in a targeted security environment -- made me think of a potential disadvantage.
Targeted, in the answers, was referring to selecting which...
June 16, 2010 at 4:13 pm
Take a look at sys.foreign_keys. You will want to select records where the parent_object_id = referenced_object_id (means they are the same table)
This link has a query which will get you...
June 16, 2010 at 12:58 pm
Steve Jones - Editor (5/26/2010)
This one reminds me of the fundamental concepts I learned in C. 0=false, 1=true.
If you are saying that it chooses the first one because 1 =...
May 26, 2010 at 10:35 am
Here is something I put together. I added a RegionCode to your example just to see that the pattern would extend.
Drop Table EmployeeLocation
go
Create Table EmployeeLocation(
RegionCode varchar(2) not null,
StateCode varchar(2) not...
March 25, 2010 at 11:51 pm
You could always solve this in the ETL phase or in the Data View by exposing the Position as both a numeric value and as a foreign key to the...
March 25, 2010 at 9:58 am
I'm sensing a loophole if we all just cooperate. Since, by the answer, we have been granted responsibility for the correctness of the answer, we ought to all agree that...
March 19, 2010 at 9:35 am
This help page lists the logical operators (http://msdn.microsoft.com/en-us/library/ms189773(SQL.90).aspx) including IN.
I don't doubt that an entire clause containing IN is a predicate, but perhaps IN is the operator in...
January 7, 2010 at 12:00 am
The string being replicated must be a varchar(max) not the result string.
Select Len(Replicate( Cast('#' as varchar(max)), 10000)) -- 10,000
Select Len(Cast( Replicate( '#', 10000) as varchar(max) )) -- 8,000
Seems like...
October 8, 2009 at 10:20 am
Viewing 15 posts - 16 through 30 (of 42 total)