question

shwetagupta82 avatar image
shwetagupta82 asked

When i execute a stored procedure in the application database,the values added are not reflected in the front end.What can be the reason??

I am a Software Tester and i am new to database testing. My application database has a stored procedure for inserting values into a table. I executed that procedure and the values got added into the table. But the same values are not reflected in the front end.What can be the reason? I am able to add values in tables by sql queries though and these values are also reflected in the front end.
stored-procedures
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

KenJ avatar image KenJ commented ·
Based on the information in the question, there isn't a specific reason. Is there anything else you can tell us that is specific to your environment or test setup that might help identify the problem? Maybe you could try some of the following questions to help determine the problem: What are the stored procedures doing differently than your sql queries? Are you running the stored procedures in the same server and database as the sql queries? are the data reflected instantaneously upon insert, or are the stored procedure inserts never showing up even when you do something in the application that should cause them to appear? when you execute the stored procedures, can you see the newly inserted data with a sql query? Are the stored procedure executions being rolled back? Do the stored procedures have any user or role based logic that causes them to do something different when executed from your testing tool or by a test user?
0 Likes 0 ·

1 Answer

·
AlexTheDeveloper avatar image
AlexTheDeveloper answered
Hi, probably front end has cached the data - so you need to click some kind of "Refresh" button (front end usually does not know that you have updated table in the database)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.