May 21, 2010 at 7:30 am
Phil Parkin (5/21/2010)
da-zero (5/21/2010)
Yeah, I'm very fortunate to have never worked with Access before, so I didn't realize the getdate() function doesn't exist in Access. Apparently Now() is the equivalent (Google is your friend).Also, I used the column DateColumn as an example.
I'm pretty sure you have to replace that with the correct column.
You beat me!
Ha! This is my revenge because you beat me earlier in this topic. (not sure this is the correct past tense for to beat, mais bon).
Revenge can be sweet on a Friday afternoon 😀
To take it even further, in the document that the OP posted as an attachment, which you clearly didn't read :-P, you can see that the OP didn't use select * but used named columns instead.
Now I'm off to indulge myself in the finest Belgian beers. 😀
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
May 21, 2010 at 7:34 am
There was an error displaying the preview.
------------------------------
ADDITIONAL INFORMATION:
Invalid use of '.', '!', or '()'. in query expression 'TransactionLog. TIME > DATE ()'. (Microsoft JET Database Engine)
still I m getting above error.
I have attached snap shot in next post
May 21, 2010 at 7:38 am
Please find the attchment
May 21, 2010 at 7:40 am
There should be no space before 'TIME' in your query.
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
May 21, 2010 at 7:41 am
Anyone of u please please help me guys. I have to deploy this today:crying:
May 21, 2010 at 7:42 am
da-zero (5/21/2010)
Phil Parkin (5/21/2010)
da-zero (5/21/2010)
Yeah, I'm very fortunate to have never worked with Access before, so I didn't realize the getdate() function doesn't exist in Access. Apparently Now() is the equivalent (Google is your friend).Also, I used the column DateColumn as an example.
I'm pretty sure you have to replace that with the correct column.
You beat me!
Ha! This is my revenge because you beat me earlier in this topic. (not sure this is the correct past tense for to beat, mais bon).
Revenge can be sweet on a Friday afternoon 😀
To take it even further, in the document that the OP posted as an attachment, which you clearly didn't read :-P, you can see that the OP didn't use select * but used named columns instead.
Now I'm off to indulge myself in the finest Belgian beers. 😀
The * is back in the latest doc - my post was an act of prescience.
Belgian beers, you lucky ******* :smooooth: I have to wait just a few more hours before my hands land on that first glorious Friday afternoon beer 🙂
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
May 21, 2010 at 7:47 am
Hey parkin,
Its showing error for where clause and even then if i give ok space will be automatically inserted.
I checked its twice
I doubt whether i can use where clause in access db.
I will check in google ma frnd and revert to u
May 21, 2010 at 7:49 am
You can DEFINITELY use a WHERE clause in Access.
Try building the query in Access - might speed things up for you. When it's working, just grab the SQL and then paste it into your SSIS query def.
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
May 21, 2010 at 7:55 am
Hey
SELECT ID, SiteName, DRCNum, TypeID, Point, [Time], CardNumber, FormatName
FROM TransactionLog
WHERE (ID > 5)
above query perfectly works i have used other column ID when i use Time column its giving error.
Should i have to use any other operators or inbuilt functions to check for date.
Please reply me.
May 21, 2010 at 7:58 am
What is the data type, in Access, of the TIME column?
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
May 21, 2010 at 8:12 am
It is Date/Time datatype
May 21, 2010 at 8:34 am
K guys i m extremely sorry for wasting your time. Even too gave up.
Thank u for helping me to solve my issue.
Sachin
Viewing 12 posts - 16 through 26 (of 26 total)
You must be logged in to reply to this topic. Login to reply