October 20, 2010 at 6:56 am
Forewarn
October 20, 2010 at 7:06 am
Forescore
+--------------------------------------------------------------------------------------+
Check out my blog at https://pianorayk.wordpress.com/
October 20, 2010 at 7:07 am
Word Code of the day . . .select cup from coffee
where caffeine = 'high'
+--------------------------------------------------------------------------------------+
Check out my blog at https://pianorayk.wordpress.com/
October 20, 2010 at 7:44 am
Ray K (10/20/2010)
WordCode of the day . . .select cup from coffee
where caffeine = 'high'
You need a loop so you can repeat, one cup is not enough.:-)
October 20, 2010 at 7:49 am
Daniel Bowlin (10/20/2010)
Ray K (10/20/2010)
WordCode of the day . . .select cup from coffee
where caffeine = 'high'
group by cup
having count(cup) > 1
You need a loop so you can repeat, one cup is not enough.:-)
How's that?
+--------------------------------------------------------------------------------------+
Check out my blog at https://pianorayk.wordpress.com/
October 20, 2010 at 7:59 am
select cup from coffee
where caffeine = 'high'
and spike = 'Grand Marnier'
October 20, 2010 at 8:03 am
Ray K (10/20/2010)
WordCode of the day . . .select cup from coffee
where caffeine = 'high'
You won't get any that way, try this:
select coffee
Into #Mug
from Pot
where caffeine = 'high'
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
October 20, 2010 at 9:02 am
CirquedeSQLeil (10/20/2010)
Ray K (10/20/2010)
WordCode of the day . . .select cup from coffee
where caffeine = 'high'
You won't get any that way, try this:
select coffee
Into #Mug
from Pot
where caffeine = 'high'
Boys, boys. You're doing it all wrong.
Declare @cup Wallysized, @pours int;
Set @pours = full;
Set @cup = ounces_litres;
While @cup < @pours
Begin
select p.coffee, t.n
Into #Mug
from Pot p
cross join Tally t
where p.caffeine = 'high';
Set @cup = @cup + 1;
End
October 20, 2010 at 9:08 am
and
while @cup < 3
@triptobathroom = false
Gotta cover all possibilities 😉
Joe
October 20, 2010 at 9:25 am
Brandie Tarvin (10/20/2010)
CirquedeSQLeil (10/20/2010)
Ray K (10/20/2010)
WordCode of the day . . .select cup from coffee
where caffeine = 'high'
You won't get any that way, try this:
select coffee
Into #Mug
from Pot
where caffeine = 'high'
Boys, boys. You're doing it all wrong.
Declare @cup Wallysized, @pours int;
Set @pours = full;
Set @cup = ounces_litres;
While @cup < @pours
Begin
select p.coffee, t.n
Into #Mug
from Pot p
cross join Tally t
where p.caffeine = 'high';
Set @cup = @cup + 1;
End
I trust that you tested this in SQL Profiler? :hehe:
+--------------------------------------------------------------------------------------+
Check out my blog at https://pianorayk.wordpress.com/
October 20, 2010 at 9:38 am
Ray K (10/20/2010)
Brandie Tarvin (10/20/2010)
CirquedeSQLeil (10/20/2010)
Ray K (10/20/2010)
WordCode of the day . . .select cup from coffee
where caffeine = 'high'
You won't get any that way, try this:
select coffee
Into #Mug
from Pot
where caffeine = 'high'
Boys, boys. You're doing it all wrong.
Declare @cup Wallysized, @pours int;
Set @pours = full;
Set @cup = ounces_litres;
While @cup < @pours
Begin
select p.coffee, t.n
Into #Mug
from Pot p
cross join Tally t
where p.caffeine = 'high';
Set @cup = @cup + 1;
End
I trust that you tested this in SQL Profiler? :hehe:
It doesn't look like it will pour fast enough.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
October 21, 2010 at 6:48 am
WOTD: word
+--------------------------------------------------------------------------------------+
Check out my blog at https://pianorayk.wordpress.com/
October 21, 2010 at 6:56 am
dreary
October 21, 2010 at 6:58 am
October 21, 2010 at 7:19 am
weary - will this week ever end???
-- You can't be late until you show up.
Viewing 15 posts - 3,121 through 3,135 (of 21,190 total)
You must be logged in to reply to this topic. Login to reply