only first query executed..
code is
Response.Write sayac & "<BR>"
for bul=0 to sayac-1
Response.Write bul & "<BR>"
sil="update [sheet3$] set
urunid='',sesid='',num='',marka='',modeladi='',fiy at='',tlfiyat='',urunadi='
' where sesid='"&session.SessionID&"' and urunadi='"&delitema(bul)&"'"
response.write sil&"<br>"
baglantimiz.execute(sil)
next
output result is
4
0
update [sheet3$] set
urunid='',sesid='',num='',marka='',modeladi='',fiy at='',tlfiyat='',urunadi='
' where sesid='891158220' and urunadi='LSZAW002W0'
1
update [sheet3$] set
urunid='',sesid='',num='',marka='',modeladi='',fiy at='',tlfiyat='',urunadi='
' where sesid='891158220' and urunadi=' L300C-01AC'
2
update [sheet3$] set
urunid='',sesid='',num='',marka='',modeladi='',fiy at='',tlfiyat='',urunadi='
' where sesid='891158220' and urunadi=' PRS-201'
3
update [sheet3$] set
urunid='',sesid='',num='',marka='',modeladi='',fiy at='',tlfiyat='',urunadi='
' where sesid='891158220' and urunadi=' STR-400-1V'
still only first query executed. what is the problem... 2 1304
Please stick to the original thread. Response in there.
Ray at work
"Savas Ates" <sa***@indexinteractive.com> wrote in message
news:Oa*************@TK2MSFTNGP10.phx.gbl... only first query executed..
code is
Response.Write sayac & "<BR>" for bul=0 to sayac-1 Response.Write bul & "<BR>"
sil="update [sheet3$] set
urunid='',sesid='',num='',marka='',modeladi='',fiy at='',tlfiyat='',urunadi=' ' where sesid='"&session.SessionID&"' and urunadi='"&delitema(bul)&"'" response.write sil&"<br>" baglantimiz.execute(sil)
next output result is
4 0 update [sheet3$] set
urunid='',sesid='',num='',marka='',modeladi='',fiy at='',tlfiyat='',urunadi=' ' where sesid='891158220' and urunadi='LSZAW002W0' 1 update [sheet3$] set
urunid='',sesid='',num='',marka='',modeladi='',fiy at='',tlfiyat='',urunadi=' ' where sesid='891158220' and urunadi=' L300C-01AC' 2 update [sheet3$] set
urunid='',sesid='',num='',marka='',modeladi='',fiy at='',tlfiyat='',urunadi=' ' where sesid='891158220' and urunadi=' PRS-201' 3 update [sheet3$] set
urunid='',sesid='',num='',marka='',modeladi='',fiy at='',tlfiyat='',urunadi=' ' where sesid='891158220' and urunadi=' STR-400-1V'
still only first query executed. what is the problem...
okey sorry.. it was a mistake made inadvertently. I didnt find any answer to
solve problem.. still im waiting... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tim Williams |
last post by:
I'm trying to write a simple python program to access a MySQL
database. I'm having a problem with using MySQLdb to get the results
of a SQL command in a cursor. Sometimes the cursor.execute works,...
|
by: Matt |
last post by:
I want to exexute stored procedure in ASP, but it has error "Microsoft
VBScript compilation (0x800A0401) Expected end of statement" on line (1).
The stored procedure "sp_emp" contain "select *...
|
by: William Gill |
last post by:
I have been trying to pass parameters as indicated in the api.
when I use:
sql= 'select * from %s where cusid = %s ' % name,recID)
Cursor.execute(sql)
it works fine, but when I try :
sql=...
|
by: PyPK |
last post by:
Hi if I have a function called
tmp=0
def execute():
tmp = tmp+1
return tmp
also I have
def func1():
execute()
....
|
by: Gustavo Randich |
last post by:
Hello,
I'm writing an automatic SQL parser and translator from Informix to
DB2. Now I'm faced with one of the most difficult things to translate,
the "foreach execute procedure" functionality...
|
by: Norman Fritag |
last post by:
Hi there
The below code executes some queries.
As newbie I was wondering weather you are better of using connection execute
or command execute to execute queries?
I am asking as...
|
by: Dune |
last post by:
I'm trying to execute an aspx page by calling Server.Execute.
The aspx page I'm trying to execute is in a different web app from the aspx page containing the Server.Execute statement. A slightly...
|
by: johnlichtenstein |
last post by:
I am using cx_Oracle and MySQLdb to pull a lot of data from some tables
and I find that the cursor.execute method uses a lot of memory that
never gets garbage collected. Using fetchmany instead of...
|
by: RN1 |
last post by:
When a server encounters the line
Response.Redirect("abcd.asp")
in a ASP script, the server tells the browser that it has to be
redirected to another page (which is abcd.asp, in this case)....
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |