|
by: DG |
last post by:
Hi,
Can anyone advise how to execute multiple statements in a single query
batch. For example-
update customers set customer_name = 'Smith' where customer_name =
'Smyth';
select * from customers;
I can execute each statement individually but get the 'you have an error in
|
by: DB2 Novice |
last post by:
I am trying to use DB2 Control Centre (version 8.2) to load one flat
file into multiple tables. However, I don't see the options in Control
Centre that allows that.
Anyone knows how to do this?
DB2 Novice
|
by: Nabil |
last post by:
I am new to DB2 and here is my situation.
I have 2 temp tables where I am trying to insert data (from 2 select
statements)
DECLARE v_t1 VARCHAR(50);
DECLARE v_t1 VARCHAR(50);
DECLARE stmt1 STATEMENT;
DECLARE stmt2 STATEMENT;
|
by: NS |
last post by:
Hi,
I am trying to execute a prepare statement using oledb provider for
DB2. The command.Prepare() statement is giving me an exception
" No error information available: DB_E_NOCOMMAND(0x80040E0C)."
My code is very simple and is working with other oledb provider, like
SQL Server and oracle.
|
by: svijay |
last post by:
hi
I have got a strange problem. May I know any solution for this.
Here is the detailed description about the problem
We have got a mainframe system and also production and development
server.
|
|
by: TheSteph |
last post by:
Hi,
I need some Advice..
What is the best practice to execute multiple "nonQuery" SQL operations in
a transaction ?
1) Execute all in one "sqlCommand.ExecuteNonQuery();" :
sqlCommand.CommandText =
|
by: arthy |
last post by:
Hi,
Is it possible to execute multiple statements on to the database using a single dbconnection object.what is the drawback in using .If not possible ,then how can the execution of multiple statements using a single object be done.
thanks in advance,
arthy
|
by: Muhamamd Khayyam |
last post by:
I am passing a query to Oracle 9i using Oledb.command object.
Code is
Dim c As OleDb.OleDbCommand
Dim sOURCE As BindingSource
Dim DR As OleDb.OleDbDataReader
Connect.Connect("scott", "tiger", "ORCL", "ORACLE") ' A module for connection string
c = New OleDb.OleDbCommand("select * from EMP WHERE HIREDATE = '07-AUG-07', Connect.V_DbConnection) '' Connect.V_DbConnection is a connection object
...
|
by: teckguan |
last post by:
Hi everyone,
I would like to ask how am I going to execute multiple scripts using UNIX
command? I have found a command to execute. However, I cannot execute it. The
command is
db2 -txf <<EOF $SQLSTMTset schema ADMIN;
I do think that maybe the author types wrongly. I hope you guys can help.
Thanks.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|