Micro Focus QTP (UFT) Forums
Problem while reading an sql query - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Problem while reading an sql query (/Thread-Problem-while-reading-an-sql-query)



Problem while reading an sql query - priyankmg - 03-14-2008

Hi,
I need to read an sql query from a text file, and then go on to execute it from QTP. The problem is, the query is too long and the variable into which Im reading it, chops it halfway through. I mean thats the max data it is taking.
Any way out?

Thanks!

Priyank


RE: Problem while reading an sql query - Ankur - 03-14-2008

Please post the query , your expected solution and actual (you are getting now).

Also don't forget to format the sql code before posting here for better readability.