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


T-SQL Haiku


T-SQL Haiku

Author
Message
RBarryYoung
RBarryYoung
SSCoach
SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)

Group: General Forum Members
Points: 15432 Visits: 9518
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
SSCertifiable
SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)

Group: General Forum Members
Points: 7323 Visits: 4382
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
SSCoach
SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)

Group: General Forum Members
Points: 15432 Visits: 9518
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
SSCertifiable
SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)

Group: General Forum Members
Points: 7323 Visits: 4382
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
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1158 Visits: 3034
SQL pick up line...w00t

GETDATE FOR USER
IF LANGUAGE IS NOT FOREIGN
TRY CONVERSATION


Ivanna Noh
Ivanna Noh
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1158 Visits: 3034
...or if that doesn't work...

NO CONVERSATION
WAITFOR END OF DAY AND THEN
TRY UNION INSTEAD



w00t
sgmunson
sgmunson
SSCertifiable
SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)

Group: General Forum Members
Points: 7323 Visits: 4382
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
SSCarpal Tunnel
SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)

Group: General Forum Members
Points: 4973 Visits: 2503
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
SSCarpal Tunnel
SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)

Group: General Forum Members
Points: 4973 Visits: 2503
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)
SSChampion
SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)

Group: General Forum Members
Points: 12791 Visits: 18584
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