Skip to Content
author's profile photo Former Member
Former Member

Database table 'REGUP'

Hi,

In program,

first partie: insert data into 'regup' table

second partie: i select data that i insert in first partie

the problem is that the result of my select is null while the data was inserted.

NB: If i put 'break point' between first and second partie the result is good

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 08:12 AM

    Keep a WAIT statement between them like

    WAIT UP TO 2 SECONDS.

    Regards,

    Kiran Bobbala

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 19, 2008 at 08:11 AM

    Hi Simin,

    After INSERT statement put COMMIT WORK statement. But my question is if u already have the data available(Which u inserted) then why do u need to select the same data again?

    Instead u can use the inserted data right???

    Thanks,

    Vinod.

    Edited by: Vinod Reddy Vemuru on Jun 19, 2008 1:42 PM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.