Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-10-2009, 05:37 AM
dmolnar dmolnar is offline
Junior Member
 
Join Date: Jul 2009
Posts: 11
Default SQL Server

I am trying to extract data from a sql server using a select and a where clause I am able to get everything i need except i cannot figure out how to use the where clause set to < the current date minus 1 can you please help me with this. The Task runs well with out the where clause but i really need it.
Attached Files
File Type: atmn testget.atmn (1,021 Bytes, 2 views)

Last edited by dmolnar; 07-10-2009 at 08:56 AM.
Reply With Quote
  #2 (permalink)  
Old 07-11-2009, 09:46 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

You can use Variable Operation command to calculate date minus 1 then use this variable in SQL Query.

We have attached a sample task for your reference. To run this task,

. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.
. Copy db1.mdb under c:\.

Hope that helps.
Attached Files
File Type: zip DATETEST.zip (12.1 KB, 8 views)
Reply With Quote
  #3 (permalink)  
Old 07-13-2009, 05:20 AM
dmolnar dmolnar is offline
Junior Member
 
Join Date: Jul 2009
Posts: 11
Default

I copied in the Variable operation and the where clause and still get this error ---------------------------
Automation Anywhere Client Error
---------------------------
Incorrect syntax near '08'.



An error occured at line number 6.

Please open the task in the Task Editor to view the action at line number 6.
---------------------------
OK
---------------------------
Reply With Quote
  #4 (permalink)  
Old 07-13-2009, 04:23 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Is it possible for you to upload your task so that we can look into it and suggest the viable solution?

You can locate your task by selecting your task from Task List, right clicking that particular task and selecting 'Locate on disk' from context menu.
It would help us investigate further.
Reply With Quote
  #5 (permalink)  
Old 07-14-2009, 05:04 AM
dmolnar dmolnar is offline
Junior Member
 
Join Date: Jul 2009
Posts: 11
Default

Yes Here it is
Attached Files
File Type: atmn testget.atmn (2.3 KB, 2 views)
Reply With Quote
  #6 (permalink)  
Old 07-14-2009, 03:45 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

We need to look into dbo.MissingWaivers table used in the task.

If you can email us your number at, http://www.tethyssolutions.com/support_form.htm then we can call you and resolve the issue.
Reply With Quote
  #7 (permalink)  
Old 07-15-2009, 05:10 AM
dmolnar dmolnar is offline
Junior Member
 
Join Date: Jul 2009
Posts: 11
Default

OK sent it in
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 03:08 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved