Quantcast
Channel: Questions in topic: "ms sql"
Viewing all articles
Browse latest Browse all 16

Use Dates in oracle linked server

$
0
0
I have an Oracle Linked server and i need to pull transactions within a given date range but I amd not familiar with how to convert or where to convert the types so the oracle will recognize my criteria SELECT TOP 10 * FROM ORACLE_LS..SCHMA.TABLE_NAME where convert(char(23),INVOICE_DATE,126) between convert(char(23),'2011-11-01',126) and convert(char(23),'2011-11-30', 126)

Viewing all articles
Browse latest Browse all 16

Trending Articles