I have a simple amateur question. This is my SQL code:
[COLOR=black white][tt]SELECT PassWrd, UID FROM tblUsers WHERE UID='"&Session("UID")&"'[/tt][/color]
And this is the same code after MS Access applied its formatting:
[COLOR=black white][tt]SELECT PassWrd, UID FROM tblUsers WHERE (((UID)='"&Session("UID")&"'));[/tt][/color]
They both work fine so my question is there any real difference or is on more correct than the other.
Cheers
mossimo
[COLOR=black white][tt]SELECT PassWrd, UID FROM tblUsers WHERE UID='"&Session("UID")&"'[/tt][/color]
And this is the same code after MS Access applied its formatting:
[COLOR=black white][tt]SELECT PassWrd, UID FROM tblUsers WHERE (((UID)='"&Session("UID")&"'));[/tt][/color]
They both work fine so my question is there any real difference or is on more correct than the other.
Cheers
mossimo