SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


T-SQL Haiku


T-SQL Haiku

Author
Message
RBarryYoung
RBarryYoung
SSC Guru
SSC Guru (80K reputation)SSC Guru (80K reputation)SSC Guru (80K reputation)SSC Guru (80K reputation)SSC Guru (80K reputation)SSC Guru (80K reputation)SSC Guru (80K reputation)SSC Guru (80K reputation)

Group: General Forum Members
Points: 80418 Visits: 9519
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
SSC-Forever
SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)

Group: General Forum Members
Points: 43482 Visits: 5422
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)
Smile Smile Smile
Health & Nutrition
RBarryYoung
RBarryYoung
SSC Guru
SSC Guru (80K reputation)SSC Guru (80K reputation)SSC Guru (80K reputation)SSC Guru (80K reputation)SSC Guru (80K reputation)SSC Guru (80K reputation)SSC Guru (80K reputation)SSC Guru (80K reputation)

Group: General Forum Members
Points: 80418 Visits: 9519
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
SSC-Forever
SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)

Group: General Forum Members
Points: 43482 Visits: 5422
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)
Smile Smile Smile
Health & Nutrition
Ivanna Noh
Ivanna Noh
SSCrazy
SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)

Group: General Forum Members
Points: 2652 Visits: 3158
SQL pick up line...w00t

GETDATE FOR USER
IF LANGUAGE IS NOT FOREIGN
TRY CONVERSATION


Ivanna Noh
Ivanna Noh
SSCrazy
SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)

Group: General Forum Members
Points: 2652 Visits: 3158
...or if that doesn't work...

NO CONVERSATION
WAITFOR END OF DAY AND THEN
TRY UNION INSTEAD



w00t
sgmunson
sgmunson
SSC-Forever
SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)

Group: General Forum Members
Points: 43482 Visits: 5422
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)
Smile Smile Smile
Health & Nutrition
Rudyx - the Doctor
Rudyx - the Doctor
SSC-Insane
SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)

Group: General Forum Members
Points: 24129 Visits: 2529
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
SSC-Insane
SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)

Group: General Forum Members
Points: 24129 Visits: 2529
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)
SSC Guru
SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)

Group: General Forum Members
Points: 68126 Visits: 19995
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