SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 How to type guid in query analyzer
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

TechBoy
Starting Member

1 Posts

Posted - 07/30/2007 :  18:43:57  Show Profile  Reply with Quote
Suppose that I have a known Guid. How do I type it in the Query Analyzer?

dinakar
Flowing Fount of Yak Knowledge

USA
2507 Posts

Posted - 07/30/2007 :  18:52:45  Show Profile  Visit dinakar's Homepage  Reply with Quote
Using a keyboard and your fingers?

What do you mean?

Dinakar Nethi
************************
Life is short. Enjoy it.
************************
http://weblogs.sqlteam.com/dinakar/
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

Sweden
30242 Posts

Posted - 07/30/2007 :  18:56:27  Show Profile  Visit SwePeso's Homepage  Reply with Quote
Copy & Paste?



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

Lamprey
Flowing Fount of Yak Knowledge

4614 Posts

Posted - 07/30/2007 :  19:11:25  Show Profile  Reply with Quote
Like a string:
DECLARE @ID UNIQUEIDENTIFIER 

SET @ID = '8118002A-8BB7-4471-9258-CB446A73EDF0'
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.06 seconds. Powered By: Snitz Forums 2000