ignore text in sql query code example
Example 1: how to search date in sql query
select * from test
where date between '03/19/2014' and '03/19/2014 23:59:59'
Example 2: css in sql query
SELECT 'test1' AS [@class]
, ( SELECT 'test2' as [@class]
, (SELECT 'Name' FOR XML PATH(''))
FOR XML PATH('td'), type)
,(SELECT 'test3' as [@class]
, (SELECT 'Value' FOR XML PATH(''))
FOR XML PATH('td'), type)
FOR XML PATH('tr'), type