Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


T-SQL Haiku


T-SQL Haiku

Author
Message
RBarryYoung
RBarryYoung
SSCrazy Eights
SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)

Group: General Forum Members
Points: 9432 Visits: 9517
Ken Simmons (6/24/2008)
DROP DATABASE FILE
IF NO BACKUP TO RESTORE
BEGIN TO DENY


ROFL! Laugh

Beautiful, Ken.

-- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoung
Proactive Performance Solutions, Inc.
"Performance is our middle name."
sgmunson
sgmunson
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2828 Visits: 3743
How about the following?


BEGIN TO COMMIT
WHEN RECEIVE DUMP
THEN END CONVERSATION



Kind of silly, but I got a laugh out of it...
especially when I considered how RELATIONAL it is w00tBigGrinTongueHehe

Steve
(aka smunson)
BigGrinBigGrinBigGrin

Steve
(aka sgmunson)
:-):-):-)
Health & Nutrition
RBarryYoung
RBarryYoung
SSCrazy Eights
SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)

Group: General Forum Members
Points: 9432 Visits: 9517
smunson (6/26/2008)
How about the following?


BEGIN TO COMMIT
WHEN RECEIVE DUMP
THEN END CONVERSATION



Kind of silly, but I got a laugh out of it...
especially when I considered how RELATIONAL it is w00tBigGrinTongueHehe

Steve
(aka smunson)
BigGrinBigGrinBigGrin

It does not conform to the rules. The "Haiku" are supposed to consist of 3 lines, with 5 syllables in the first line, 7 syllables in the second and 5 syllables in the last line. Yours is (4,4,6), not (5,7,5).

-- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoung
Proactive Performance Solutions, Inc.
"Performance is our middle name."
sgmunson
sgmunson
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2828 Visits: 3743
OOPS !!! Wasn't familiar with the specifics on that... here's a fix:


BEGIN TO COMMIT
WHEN RECEIVE CONTAINS DUMP THEN
END CONVERSATION



Turns out I did have 5 on line 1, but then it was 4 and 6 instead of 7 and 5.

Steve
(aka smunson)
SmileSmileSmile

rbarryyoung (6/26/2008)
smunson (6/26/2008)
How about the following?


BEGIN TO COMMIT
WHEN RECEIVE DUMP
THEN END CONVERSATION



Kind of silly, but I got a laugh out of it...
especially when I considered how RELATIONAL it is w00tBigGrinTongueHehe

Steve
(aka smunson)
BigGrinBigGrinBigGrin

It does not conform to the rules. The "Haiku" are supposed to consist of 3 lines, with 5 syllables in the first line, 7 syllables in the second and 5 syllables in the last line. Yours is (4,4,6), not (5,7,5).


Steve
(aka sgmunson)
:-):-):-)
Health & Nutrition
Ivanna Noh
Ivanna Noh
SSC Eights!
SSC Eights! (955 reputation)SSC Eights! (955 reputation)SSC Eights! (955 reputation)SSC Eights! (955 reputation)SSC Eights! (955 reputation)SSC Eights! (955 reputation)SSC Eights! (955 reputation)SSC Eights! (955 reputation)

Group: General Forum Members
Points: 955 Visits: 2906
SQL pick up line...w00t

GETDATE FOR USER
IF LANGUAGE IS NOT FOREIGN
TRY CONVERSATION


Ivanna Noh
Ivanna Noh
SSC Eights!
SSC Eights! (955 reputation)SSC Eights! (955 reputation)SSC Eights! (955 reputation)SSC Eights! (955 reputation)SSC Eights! (955 reputation)SSC Eights! (955 reputation)SSC Eights! (955 reputation)SSC Eights! (955 reputation)

Group: General Forum Members
Points: 955 Visits: 2906
...or if that doesn't work...

NO CONVERSATION
WAITFOR END OF DAY AND THEN
TRY UNION INSTEAD



w00t
sgmunson
sgmunson
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2828 Visits: 3743
Well, Ivanna, that makes a total of three RELATIONAL verses in T-SQL Haiku... How database is that ???? BigGrinBigGrinBigGrin

And as long as we're using a RELATIONAL language, how about:


IF DATE IS DATEFIRST
THEN TRY NOT HAVING ANY
INSERT INTO DATE


BigGrinBigGrinBigGrin

Not sure if I'll get away with this one though... It's a cautionary tale, if that helps...

Steve
(aka smunson)
SmileSmileSmile

Steve
(aka sgmunson)
:-):-):-)
Health & Nutrition
Rudyx - the Doctor
Rudyx - the Doctor
Hall of Fame
Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)

Group: General Forum Members
Points: 3290 Visits: 2476
master full user
values unique union
with distinct order

Regards
Rudy Komacsar
Senior Database Administrator

"Ave Caesar! - Morituri te salutamus."
Rudyx - the Doctor
Rudyx - the Doctor
Hall of Fame
Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)

Group: General Forum Members
Points: 3290 Visits: 2476
kill current user
and begin to shutdown key
user database

Regards
Rudy Komacsar
Senior Database Administrator

"Ave Caesar! - Morituri te salutamus."
Matt Miller (#4)
Matt Miller (#4)
SSCertifiable
SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)

Group: General Forum Members
Points: 7624 Visits: 18043
rudy komacsar (6/27/2008)
master full user
values unique union
with distinct order
or schemabinding! Tongue

----------------------------------------------------------------------------------
Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search