Hi,
I have a table that needs a unique ID (string) for each record. So I used newid() and it gets auto generated upon each insert into my table.
Now, when I need to find a record using this value in my select statement in a sproc, it just hangs.
Here is the select:
@Confirmation_Number varchar(250),
@Email varchar(100)
as
select @Member_ID = Member_ID
from FG_Members
where
Confirmation_Number = @Confirmation_Number
and Email = @Email
Is there a special way to handle GUID comparisons in a where clause in a sproc?
Thanks,
Mark
I have a table that needs a unique ID (string) for each record. So I used newid() and it gets auto generated upon each insert into my table.
Now, when I need to find a record using this value in my select statement in a sproc, it just hangs.
Here is the select:
@Confirmation_Number varchar(250),
@Email varchar(100)
as
select @Member_ID = Member_ID
from FG_Members
where
Confirmation_Number = @Confirmation_Number
and Email = @Email
Is there a special way to handle GUID comparisons in a where clause in a sproc?
Thanks,
Mark