Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Neil123
Starting Member
1 Post |
Posted - 2013-07-28 : 08:59:26
|
Hi All,I am trying to pull the data from Salesforce using sql server.I would like to pull all the data where CreatedDate= GETDATE()-1 but it throws me an error.Is there any other way to import only yesterdays data? This should be an automatic process. this should be scheduled and run everyday.Here is my query:Select * into ContactsFrom (openquery,SALESFORCE 'Select Id From Contacts Where CreatedDate=GETDATE()-1)'I can run other queries and import. but it throws me an error whenever i filter with date.I appreciate your help.Thanks in advanceCheers,Neil |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|