Here is an example of a query that uses both a variable and a
datasheet reference within the query
Set rcRecordSet=cnDBConnection.Execute( "select * from dba.table where
create_date > " & "'" & DataTable.Value("Query_Date", dtGlobalSheet) &"'" &"
and a.email_address = " & "'" & EmailAddress &"'")

On Sun, Jul 5, 2009 at 1:55 PM, Judy <[email protected]> wrote:

>
>
> Can i use paramters in the SQL query while using DB checkpoint?
>
> Or
> Is there a way i can read SQL Query from an external file and use it
> in the DB checkpoint?
>
> Thanks,
> Judy
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to