SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Unablet to Import data feed from SQL to Datatable

    i was trying to import sql datafeed values by clicking the right button on the datasheet. Was able to connect the database. My querry is big with three joins. When i put the script in the query textbox, it remains idle for many mins- to hour , finally i need to close the QTP. Because of this i am unable to get the feed values to run my application. Do anybody know what can be done to get my SQL datavalues? Kindly assist me.

  2. #2
    Member
    Join Date
    Sep 2006
    Posts
    66
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Unablet to Import data feed from SQL to Datatable

    You might want to look into using the ADO Recordset object in your code.

    http://www.w3schools.com/ado/ado_ref_recordset.asp

  3. #3
    Super Member QAGanesh's Avatar
    Join Date
    Sep 2010
    Posts
    1,898
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Unablet to Import data feed from SQL to Datatable

    Karthik,

    How huge is the dataset. I mean the number of rows and column you trying to import.
    Thanks,
    Ganesh Iyer
    Winds of Change

  4. #4
    Super Member
    Join Date
    Dec 2005
    Location
    USA
    Posts
    1,407
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Unablet to Import data feed from SQL to Datatable

    I guess this might also be a network problem.
    as Ganesh pointed out, how many rows you are fetching.
    ------------
    Chikki
    when things gets harder ,the harder gets going

  5. #5
    Super Member QAGanesh's Avatar
    Join Date
    Sep 2010
    Posts
    1,898
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Unablet to Import data feed from SQL to Datata

    Chikki,

    I never had an opportunity to try the same, did u ever try to fetch data into datatable from DB.
    Thanks,
    Ganesh Iyer
    Winds of Change

  6. #6
    Super Member
    Join Date
    Dec 2005
    Location
    USA
    Posts
    1,407
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Unablet to Import data feed from SQL to Datata

    I have done it a long back when i was learning QTP. but i never used it after that. [img]/images/graemlins/smile.gif[/img]
    ------------
    Chikki
    when things gets harder ,the harder gets going

  7. #7
    Super Member QAGanesh's Avatar
    Join Date
    Sep 2010
    Posts
    1,898
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Unablet to Import data feed from SQL to Datata

    Great,
    Thanks,
    Ganesh Iyer
    Winds of Change

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.00%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:54 PM.

Copyright BetaSoft Inc.