Viewing 15 posts - 3,466 through 3,480 (of 5,685 total)
SELECT
v,
v&1 AS bit1,
v&2 / 2 AS bit2,
v&4 / 4 AS bit4,
...
FROM
table
You're looking for the bitwise operators, &...
April 7, 2011 at 11:51 am
CGSJohnson (4/7/2011)
April 7, 2011 at 11:27 am
Chrissy321 (4/7/2011)
--get the most recent populationSELECT
Datapoint
FROM MetricData
WHERE SessionID (SELECT MAX(SessionID) FROM MetricData WHERE MetricID = 2)
If you can avoid this I would. There are times things like...
April 7, 2011 at 11:22 am
Brandie: It's about 6 quadrillion larger then the target system can handle, especially in its rollup calculations.
Jeff Moden (4/7/2011)
April 7, 2011 at 11:19 am
CirquedeSQLeil (4/6/2011)
April 6, 2011 at 11:54 pm
Ai ai ai. This made my head hurt. 🙂
This link may help if you're used to how 2k5 works for SSIS configs and commandline settings: http://msdn.microsoft.com/en-us/library/bb500430.aspx
CGSJohnson (4/6/2011)
April 6, 2011 at 11:42 pm
Chrissy321 (4/6/2011)
April 6, 2011 at 11:27 pm
Thanks for the comments guys. I was pursuing something similar but time is against me. I've got a few more tricks up my sleeves and I'll share them...
April 6, 2011 at 2:16 pm
rmechaber (4/6/2011)
Craig Farrell (4/6/2011)
April 6, 2011 at 2:14 pm
GSquared (4/6/2011)
Brandie Tarvin (4/6/2011)
Stefan Krzywicki (4/6/2011)
Brandie Tarvin (4/6/2011)
Stefan Krzywicki (4/6/2011)
April 6, 2011 at 2:02 pm
Hey guys, need some opinions on something. I know there is no 'real' solution here.
http://www.sqlservercentral.com/Forums/Topic1089499-361-1.aspx
April 6, 2011 at 12:32 pm
There's nothing in those estimated plans that pop out and bite me... but they're estimates. My guess is there's a significant difference between estimated and actual. Can you...
April 6, 2011 at 12:22 pm
Well, Wayne asked me to drop in with another viewpoint just to try to get as many as possible.
ORM = Incredibly annoying to inherit. ORM is (personal experience opinion)...
April 6, 2011 at 11:59 am
Brandie Tarvin (4/6/2011)
http://www.complexactions.com/archive/G03.shtml
I hope you...
April 6, 2011 at 10:59 am
Look into temporary (#tbl) tables and table variables (@tbl), they were built to do exactly what you're looking for. You join them back into the next query in the...
April 6, 2011 at 1:37 am
Viewing 15 posts - 3,466 through 3,480 (of 5,685 total)