Viewing 15 posts - 106 through 120 (of 1,473 total)
It's threads like this that remind me on a regular basis how much I still need to learn about SQL Server :hehe:.
May 5, 2010 at 11:56 pm
Jeff Moden (5/5/2010)
Here's what I get on my 8 year old desktop box for performance results...
...
I...
You...
...
So how's Windows 98 holding up nowadays?
May 5, 2010 at 11:49 pm
Can you confirm the version of SQL you're running?
May 5, 2010 at 11:34 pm
This is usually referred to as a "Running Total". See the link in my signature for a wonderful article on how to solve this issue.
May 5, 2010 at 4:38 pm
rajn.knit07 (5/5/2010)
You have to write cursor here to update your lunchperiod data in class table from student table. First of all insert what ever data you have in class table....
May 5, 2010 at 7:40 am
If/When you do come back to it, it shouldn't be too hard to write some code that will script it all out for you. No real need to do...
May 4, 2010 at 4:55 pm
Peter Brinkhaus (5/4/2010)
kramaswamy (5/4/2010)
Was really hoping for some better way of doing it :/I'm not sure what you are hoping for, but maybe this one will do:
Very nice. I'm...
May 4, 2010 at 1:22 pm
Danny Sheridan (5/4/2010)
Jeffrey Williams-493691 (4/30/2010)
May 4, 2010 at 11:55 am
There quite possibly is, but I'm still not quite clear on what you're doing.
What are your expected results from this:
DECLARE @test-2 TABLE
(
...
May 4, 2010 at 11:45 am
Here's an example that does parse the list instead of using dynamic SQL. Note the way that I supplied sample data and create table statements. In the future,...
May 4, 2010 at 11:33 am
CASE
ie.
SELECT CASE WHEN Yourvalue IN ('Yes','No','Maybe') THEN YourValue ELSE 'Invalid' END as Result
From YourTable
May 4, 2010 at 11:10 am
Depending on the answers to my above two questions, this might be able to be handled with a lookup table and some dynamic SQL.
IE:
1,2,3,4,5
and a lookup table such as:
Value ...
May 4, 2010 at 11:08 am
Is it really as simple as every table having CR and the number, or could you have a situation where say:
11 ties to CR34
or
12 ties to TM12
etc.
Also, are all your...
May 4, 2010 at 11:03 am
You could rownumber both tables and join on that. As others have hinted at though, there's not much sense in doing so. Please describe your goals with this.
May 4, 2010 at 7:11 am
Viewing 15 posts - 106 through 120 (of 1,473 total)