Article ID: 145817
Article Last Modified on 2/12/2007
=SQLEXEC( nConnHandle, "SELECT * FROM TITLES WHERE
Titles.pubdate<{ts '1995-06-12 12:55:00'}", 'MyCursor')
You can use the following syntax to create a remote view that queries
date and time information:
CREATE SQL VIEW sqldate REMOTE CONNECTION sqldate AS SELECT * FROM ;
dbo.titles WHERE Titles.pubdate<{ts '1985-06-12 12:55:00'}
In the View Designer, make sure that the date
values, the time
values, or the timestamp
values are formatted the way that you want them in the Examples field of the Selection
Criteria tab. When you save the view, the information in the Examples field
is saved together with the view. If you open and then modify the view, the information
in the Examples field is lost. If you do this, you must type the information again.
Keywords: kbhowto kbinterop KB145817