sql query with space in the value

Posted by user234194 on Stack Overflow See other posts from Stack Overflow or by user234194
Published on 2010-04-30T02:52:28Z Indexed on 2010/04/30 2:57 UTC
Read the original article Hit count: 242

Filed under:
|

How do I write where clause where the value has spaces: eg:

select * from table1 where name = 'Firstname lastname';

i tried this but doesnot work.

© Stack Overflow or respective owner

Related posts about sql

Related posts about query