GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Peoplesoft  >  PeopleCode
Go To First  |  Previous Question  |  Next Question 
 PeopleCode  |  Question 14 of 30    Print  
What is the difference between SQL Object and SQLExec?

  
Total Answers and Comments: 4 Last Update: June 18, 2006     Asked by: Manjula 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 29, 2006 03:54:33   #1  
vcramachandran Member Since: May 2006   Contribution: 3    

RE: What is the difference between SQl Object and SQl ...
Sql Objects are the objects in the sql server and sqlexec is the built in function in peoplecode
 
Is this answer useful? Yes | No
May 30, 2006 09:16:03   #2  
kishor        

RE: What is the difference between SQl Object and SQl ...

SQL Object is a peopletool definition which can be created using app designer as well as using peoplecode command CREATESQL( ) it is mainly used for reuseablility of the sql statements. so whenever this statement is required no need to hard code just create an sql object of the same and use where ever it is required.

sqlexec is a peoplesoft delivered function used to retrive only one row and u can update multiple rows of data. It directly interacts with the database.


 
Is this answer useful? Yes | No
June 08, 2006 12:21:38   #3  
Jiju        

RE: What is the difference between SQl Object and SQl ...
SQLExec should ideally be used for looping through data while SQLExecs (if used with select) should be used while returning a single row.
 
Is this answer useful? Yes | No
June 18, 2006 09:12:58   #4  
arungati Member Since: June 2006   Contribution: 2    

RE: What is the difference between SQl Object and SQl ...
SQL object is used for reusability in the sense once instantiated the data retrieved out of it can be used for further caculations logically. Physically at a database level it takes a trip to the database server only once. SQL Exec takes a trip to the database server evertime its used.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape