What are the challenges you face when working across database platforms? Take the survey
Options

Multiscript reports an erroneous uniqueidentifier

pbezansonpbezanson Posts: 8
edited December 15, 2008 5:59AM in SQL Multi Script
I ran a simple script in Multiscript (version 1.1.0.34) to query the service broker GUID for a database. The script is as follows:

use iAlert

SELECT service_broker_guid
FROM sys.databases
WHERE database_id = DB_ID()

It reported:
0x2BE99620A189F6468C08C3285C869753
(I presume that is: 2BE99620-A189-F646-8C08-C3285C869753)

When I ran the very same script in Query Analyser, it reported:
2096E92B-89A1-46F6-8C08-C3285C869753

Does anybody know why Multiscript is reporting a different GUID from Query Analyser?

TIA

Paul

Comments

  • Options
    Hi Paul,

    the value SQL Multi Script is showing is the raw binary representation of the GUID. They are equivalent, but due to a difference in byte ordering, they look different.

    I've logged this as a display issue.

    Cheers,
    --
    Daniel
Sign In or Register to comment.