jskfan
asked on
Quotes and double quotes in SQL Statement
Can someone explain to me the usage of quotes and double quotes in this statement:
cmdcustomers.commandtext=" Update Customers set" _
& "LastName= ' " & Customer.Lastname & " ' ,Fisrtname= ' "_
& Customer.Firstanem & " '
I know that sql statement needs to be between double quotes, but I don't know why in some cases they use single quotes and double quotes together.
Thanks
cmdcustomers.commandtext="
& "LastName= ' " & Customer.Lastname & " ' ,Fisrtname= ' "_
& Customer.Firstanem & " '
I know that sql statement needs to be between double quotes, but I don't know why in some cases they use single quotes and double quotes together.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Not sure why you graded as 'B' though, as you never responded to seek clarification or ask for further information.
If the above responses were not clear, all you had to do was ask for additional assistance.
BFN,
fp.