Q Where can I learn more about writing SQL queries?
A A great book for learning SQL syntax is Sams Teach Yourself SQL in 10 Minutes Second Edition. This book focuses on the queries themselves and avoids delving deep into database theory and database design. If you are interested in database theory as well, Sams Teach Yourself Microsoft SQL Server 2000 in 21 Days might be more appropriate for you.
Q If strings are delimited by the ' (single quote) character in SQL, how do you enter the single quote character into a database field programmatically?
A This is referred to as "escaping" the special character. Simply enter two single quotes instead of one. For instance, SQL Server will recognize the text "it''s" as "it's".