General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>>isnt that comparing strings...strings :D right right
>>oddly it works but ill use = to avoid future errors
>Try the following and look at results:
>
>Var1 = "A"
>Var2 = "AB"
>SET EXACT ON
>? "EXACT ON w/ ="
>? "Case 1:", VarA=VarA
>? "Case 2:", VarA=VarB
>? "Case 3:", VarB=VarA
>SET EXACT OFF
>? "EXACT OFF w/ ="
>? "Case 1:", VarA=VarA
>? "Case 2:", VarA=VarB
>? "Case 3:", VarB=VarA
>SET EXACT ON
>? "EXACT ON w/ =="
>? "Case 1:", VarA==VarA
>? "Case 2:", VarA==VarB
>? "Case 3:", VarB==VarA
>SET EXACT OFF
>? "EXACT OFF w/ =="
>? "Case 1:", VarA==VarA
>? "Case 2:", VarA==VarB
>? "Case 3:", VarB==VarA
WOnt that give an error VarA isnt declared or VarB
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only