Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 20th, 2007, 11:39 PM
Registered User
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to run a set of SQL statments in AS400

HI Folks,

i was stuck at my work with this issue :

Created one member i.e, INS_INTF in CDC/SRC_CDC,where this member contains a set of SQL insert statements nearly about 116.I wanted to execute/run this in AS400.

can any body try to find out a solution for me.

My CL program :

 CREATE PROCEDURE CDC/INS_TEST11()
 LANGUAGE SQL
 P1: BEGIN
       INSERT INTO cdc/abc (select * from cdc/xyz);
       INSERT INTO cdc/cde (select * from cdc/qrs);
                         "
                         "
                         :
                     116 inserts
 END P1


Regards,
siva






Similar Threads
Thread Thread Starter Forum Replies Last Post
AS400 connection to SQL Server 2000 dasoares SQL Server 2000 1 February 28th, 2007 10:41 PM
AS400 to SQL server 2005 Star007 SQL Language 0 April 7th, 2006 03:09 PM
How to make insert statments for current db method Access VBA 8 March 23rd, 2005 10:47 PM
Set query up to automatically run in SQL server ALLA SQL Server 2000 3 October 21st, 2004 04:24 PM
IBM AS400 + VB - retrieving AS400 file definitions gattsi Pro VB Databases 1 July 23rd, 2004 12:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.