How can i execute insert,update,delete query using llblgenpro ?

Posts   
 
    
Posts: 11
Joined: 30-Nov-2010
# Posted on: 10-Mar-2011 13:07:35   

suppose i want to execute an update query like

update table set field='some value' where somefield='xyz'

how can i execute this query using llblgenpro

i do not want to create and use stored procedure ?

i m using 3.1 version and selfservicing

thanks in advance and have a nice day !!!

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 10-Mar-2011 19:14:03   

Look for the Modify an Entity - Option 1 in this documentation link.

David Elizondo | LLBLGen Support Team
Posts: 11
Joined: 30-Nov-2010
# Posted on: 11-Mar-2011 06:46:55   

daelmo wrote:

Look for the Modify an Entity - Option 1 in this documentation link.

this is not the answer i want.

i want to execute the query for multiple records like update, insert and delete. i do not want to fetch one by one record and do the update, insert and delete process

in short i want to know that if any alternate exist for sqlcommand in llblgen pro if yes then what is it ? and if no then what is the other way to achieve this goal ?

thanks in advance and have a nice day

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 11-Mar-2011 10:17:56   

We can execlude Inserts from your question, right?

In the link David posted, look for Option 3: UpdateEntitiesDirectly Similarly there is DeleteEntitiesDirectly.

These work as you want, directly on the database without fetching any records beforehand..