Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Need simple SQL for grooms cake! Please HELP!
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 03/16/2013 :  10:38:06  Show Profile  Reply with Quote
I am trying to get a grooms cake made for a friends wedding and I need a SQL statement for the top of it... Something geeky romantic that will include the bride and grooms names, the wedding date, the words love and cherish, and so on. I don't write code and this is a surprise. I want it to be correct so that if anyone is there who understands sql statements they don't tell the groom "dude... your code sucks!"

Anyone willing to help?

"Its not a bug its... a feature"


5072 Posts

Posted - 03/16/2013 :  14:17:13  Show Profile  Visit russell's Homepage  Reply with Quote
Wow, that is geeky

SELECT	John.loves, Mary.Cherish, '2/14/2013' as Wedding
On	John.Honor = Mary.Care
WHERE	John.Loves = Mary.Loves
And	forever = 'TRUE'


SELECT	John, loves, cherishes, forever FROM him
SELECT	Mary, loves, worships, always FROM her

Gotta have either JOIN or UNION or both in there.

Edited by - russell on 03/16/2013 14:17:52
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000