You have to put quotes around the server name.
strConnection = "DRIVER={SQL SERVER}; Server=" &
"TESTING-F6FEBEA\SQLEXPRESS" & "; DATABASE="& sekhar& ";uid=sa; pwd="
or just do this unless you are planning on substituting a variable where
the server name is.
strConnection = "DRIVER={SQL SERVER}; Server=TESTING-F6FEBEA\SQLEXPRESS;
DATABASE="& sekhar& ";uid=sa; pwd="
--
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