473,396 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IF Statement

How can I do the following:

If recordset is empty, redirect to page1 but if recordset has something in,
redirect to page 2.

Thanks
Jul 19 '05 #1
17 2087
valTemp = rst.RecordCount
Select Case valTemp
Case 0
Response.Redirect "nothing_in_there.asp"
Case Else
Response.Redirect "something_in_there.asp"
End Select

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Keith" <@.> wrote in message news:#E*************@tk2msftngp13.phx.gbl...
How can I do the following:

If recordset is empty, redirect to page1 but if recordset has something in, redirect to page 2.

Thanks

Jul 19 '05 #2
set rs = conn.execute(sql)
if rs.eof then
response.redirect("page1.asp")
else
response.redirect("page2.asp")
end if
--
http://www.aspfaq.com/
(Reverse address to reply.)


"Keith" <@.> wrote in message news:#E*************@tk2msftngp13.phx.gbl...
How can I do the following:

If recordset is empty, redirect to page1 but if recordset has something in, redirect to page 2.

Thanks

Jul 19 '05 #3
> valTemp = rst.RecordCount
Select Case valTemp
Case 0
Response.Redirect "nothing_in_there.asp"
Case Else
Response.Redirect "something_in_there.asp"
End Select


Except, RecordCount isn't available with the default cursor (-1 is the
default), so your Else will probably always fire.

The EOF property will tell you if the resultset is empty without having to
rely on a count.

A
Jul 19 '05 #4
How (if possible) could I modify this so that it redirects to page 1 if RS
was NOT eof OR if a sessionvariable1 contained value1

If the session variable containes any other value or if the rs IS eof then
redirect to page 2

Thanks
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
set rs = conn.execute(sql)
if rs.eof then
response.redirect("page1.asp")
else
response.redirect("page2.asp")
end if
--
http://www.aspfaq.com/
(Reverse address to reply.)


"Keith" <@.> wrote in message news:#E*************@tk2msftngp13.phx.gbl...
How can I do the following:

If recordset is empty, redirect to page1 but if recordset has something

in,
redirect to page 2.

Thanks


Jul 19 '05 #5
I actually generally use;

If rst.RecordCount > 0 then
'// Something
End If

Just figured I'd be creative :o\

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:#s**************@TK2MSFTNGP09.phx.gbl...
valTemp = rst.RecordCount
Select Case valTemp
Case 0
Response.Redirect "nothing_in_there.asp"
Case Else
Response.Redirect "something_in_there.asp"
End Select


Except, RecordCount isn't available with the default cursor (-1 is the
default), so your Else will probably always fire.

The EOF property will tell you if the resultset is empty without having to
rely on a count.

A

Jul 19 '05 #6
set rs = conn.execute(sql)
if not rs.eof or sessionvarible1 = "1" then
response.redirect("page1.asp")
else
response.redirect("page2.asp")
end if

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Keith" <@.> wrote in message news:u$**************@TK2MSFTNGP10.phx.gbl...
How (if possible) could I modify this so that it redirects to page 1 if RS
was NOT eof OR if a sessionvariable1 contained value1

If the session variable containes any other value or if the rs IS eof then
redirect to page 2

Thanks
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
set rs = conn.execute(sql)
if rs.eof then
response.redirect("page1.asp")
else
response.redirect("page2.asp")
end if
--
http://www.aspfaq.com/
(Reverse address to reply.)


"Keith" <@.> wrote in message news:#E*************@tk2msftngp13.phx.gbl...
How can I do the following:

If recordset is empty, redirect to page1 but if recordset has
something in,
redirect to page 2.

Thanks



Jul 19 '05 #7
Keith wrote:
How can I do the following:

If recordset is empty, redirect to page1 but if recordset has
something in, redirect to page 2.


if (RS.EOF) {
<<< do stuff, close connection, etc. >>>
Response.Redirect("p1.asp")
}

<<< do other stuff, close RS & CN >>>
Response.Redirect("p2.asp")

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 19 '05 #8
Again, this use of RecordCount requires the use of an expensive cursor type.
Use the EOF property instead (as Aaron correctly suggested):

'//immediately after opening the recordset:
If not rst.EOF then
'//recordset is not empty
else
'//recordset is empty
end if

Bob Barrows

Steven Burn wrote:
I actually generally use;

If rst.RecordCount > 0 then
'// Something
End If

Just figured I'd be creative :o\
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:#s**************@TK2MSFTNGP09.phx.gbl...
valTemp = rst.RecordCount
Select Case valTemp
Case 0
Response.Redirect "nothing_in_there.asp"
Case Else
Response.Redirect "something_in_there.asp"
End Select


Except, RecordCount isn't available with the default cursor (-1 is
the default), so your Else will probably always fire.

The EOF property will tell you if the resultset is empty without
having to rely on a count.

A


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #9
Been taking a look into it since Aaron mentioned it ;o) (so far, I can't see
the difference as far as performance is concerned?)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:Ow*************@TK2MSFTNGP10.phx.gbl...
Again, this use of RecordCount requires the use of an expensive cursor type. Use the EOF property instead (as Aaron correctly suggested):

'//immediately after opening the recordset:
If not rst.EOF then
'//recordset is not empty
else
'//recordset is empty
end if

Bob Barrows

Steven Burn wrote:
I actually generally use;

If rst.RecordCount > 0 then
'// Something
End If

Just figured I'd be creative :o\
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:#s**************@TK2MSFTNGP09.phx.gbl...
valTemp = rst.RecordCount
Select Case valTemp
Case 0
Response.Redirect "nothing_in_there.asp"
Case Else
Response.Redirect "something_in_there.asp"
End Select

Except, RecordCount isn't available with the default cursor (-1 is
the default), so your Else will probably always fire.

The EOF property will tell you if the resultset is empty without
having to rely on a count.

A


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Jul 19 '05 #10
> Been taking a look into it since Aaron mentioned it ;o) (so far, I can't
see
the difference as far as performance is concerned?)


The performance comes in when you switch to using an expensive, non-default
recordset just to get the recordcount property.

http://www.aspfaq.com/2191

He wasn't making a decision based on a specific recordcount, just an empty /
non-empty set. So why go to all that trouble when you already have an EOF
property to check?

--
http://www.aspfaq.com/
(Reverse address to reply.)
Jul 19 '05 #11
Thanks everyone for your help

"Keith" <@.> wrote in message news:%2***************@tk2msftngp13.phx.gbl...
How can I do the following:

If recordset is empty, redirect to page1 but if recordset has something in, redirect to page 2.

Thanks

Jul 19 '05 #12
On its own, you might not. Did you switch to using the less expensive cursor
type and location: adOpenForwardOnly and adUseServer? Even if you did, you
probably did not notice the decrease in memory resources and cpu cycles used
on both the web and database servers when opening the less expensive cursor
type. But I guarantee you that the servers did "notice" it, and if you make
the change in enough pages that were using the more expensive cursor types,
you may notice an increase in overall performance of your server.

Of course, if your web server does not get a lot of usage, you still might
not notice it, but that does not mean that this is not a Best Practice which
you should get into the habit of using:

Use the cheapest cursor type required to support your application's
functionality. For the most part in ASP, you will not need to use a
bookmarkable cursor (i.e., a cursor which supports scrolling and
recordcount), so you should use the default cursor in almost all cases. If
you DO need extra functionality (filter, etc.), then make sure you
disconnect the recordset while processing it.

Bob Barrows

Steven Burn wrote:
Been taking a look into it since Aaron mentioned it ;o) (so far, I
can't see the difference as far as performance is concerned?)
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:Ow*************@TK2MSFTNGP10.phx.gbl...
Again, this use of RecordCount requires the use of an expensive
cursor type. Use the EOF property instead (as Aaron correctly
suggested):

'//immediately after opening the recordset:
If not rst.EOF then
'//recordset is not empty
else
'//recordset is empty
end if

Bob Barrows

Steven Burn wrote:
I actually generally use;

If rst.RecordCount > 0 then
'// Something
End If

Just figured I'd be creative :o\
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:#s**************@TK2MSFTNGP09.phx.gbl...
> valTemp = rst.RecordCount
> Select Case valTemp
> Case 0
> Response.Redirect "nothing_in_there.asp"
> Case Else
> Response.Redirect "something_in_there.asp"
> End Select

Except, RecordCount isn't available with the default cursor (-1 is
the default), so your Else will probably always fire.

The EOF property will tell you if the resultset is empty without
having to rely on a count.

A


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so
I don't check it very often. If you must reply off-line, then remove
the "NO SPAM"


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #13
Bob,
To be honest, I didn't know about the two ad's you mentioned :o\

Thanks for the info :o)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
On its own, you might not. Did you switch to using the less expensive cursor type and location: adOpenForwardOnly and adUseServer? Even if you did, you
probably did not notice the decrease in memory resources and cpu cycles used on both the web and database servers when opening the less expensive cursor type. But I guarantee you that the servers did "notice" it, and if you make the change in enough pages that were using the more expensive cursor types, you may notice an increase in overall performance of your server.

Of course, if your web server does not get a lot of usage, you still might
not notice it, but that does not mean that this is not a Best Practice which you should get into the habit of using:

Use the cheapest cursor type required to support your application's
functionality. For the most part in ASP, you will not need to use a
bookmarkable cursor (i.e., a cursor which supports scrolling and
recordcount), so you should use the default cursor in almost all cases. If
you DO need extra functionality (filter, etc.), then make sure you
disconnect the recordset while processing it.

Bob Barrows

Steven Burn wrote:
Been taking a look into it since Aaron mentioned it ;o) (so far, I
can't see the difference as far as performance is concerned?)
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:Ow*************@TK2MSFTNGP10.phx.gbl...
Again, this use of RecordCount requires the use of an expensive
cursor type. Use the EOF property instead (as Aaron correctly
suggested):

'//immediately after opening the recordset:
If not rst.EOF then
'//recordset is not empty
else
'//recordset is empty
end if

Bob Barrows

Steven Burn wrote:
I actually generally use;

If rst.RecordCount > 0 then
'// Something
End If

Just figured I'd be creative :o\
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:#s**************@TK2MSFTNGP09.phx.gbl...
>> valTemp = rst.RecordCount
>> Select Case valTemp
>> Case 0
>> Response.Redirect "nothing_in_there.asp"
>> Case Else
>> Response.Redirect "something_in_there.asp"
>> End Select
>
> Except, RecordCount isn't available with the default cursor (-1 is
> the default), so your Else will probably always fire.
>
> The EOF property will tell you if the resultset is empty without
> having to rely on a count.
>
> A

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so
I don't check it very often. If you must reply off-line, then remove
the "NO SPAM"


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Jul 19 '05 #14
ooo, nice info... cheers Aaron :o) (suddenly I feel like an edgit, lol)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:uo*************@TK2MSFTNGP12.phx.gbl...
Been taking a look into it since Aaron mentioned it ;o) (so far, I can't see
the difference as far as performance is concerned?)


The performance comes in when you switch to using an expensive,

non-default recordset just to get the recordcount property.

http://www.aspfaq.com/2191

He wasn't making a decision based on a specific recordcount, just an empty / non-empty set. So why go to all that trouble when you already have an EOF
property to check?

--
http://www.aspfaq.com/
(Reverse address to reply.)

Jul 19 '05 #15
Go here:
http://msdn.microsoft.com/library/en...umerations.asp

From which you can link to :
http://msdn.microsoft.com/library/en...cationenum.asp

and
http://msdn.microsoft.com/library/en...ortypeenum.asp

Bob Barrows

Steven Burn wrote:
Bob,
To be honest, I didn't know about the two ad's you mentioned :o\

Thanks for the info :o)
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
On its own, you might not. Did you switch to using the less
expensive cursor type and location: adOpenForwardOnly and
adUseServer? Even if you did, you probably did not notice the
decrease in memory resources and cpu cycles used on both the web and
database servers when opening the less expensive cursor type. But I
guarantee you that the servers did "notice" it, and if you make the
change in enough pages that were using the more expensive cursor
types, you may notice an increase in overall performance of your
server.

Of course, if your web server does not get a lot of usage, you still
might not notice it, but that does not mean that this is not a Best
Practice which you should get into the habit of using:

Use the cheapest cursor type required to support your application's
functionality. For the most part in ASP, you will not need to use a
bookmarkable cursor (i.e., a cursor which supports scrolling and
recordcount), so you should use the default cursor in almost all
cases. If you DO need extra functionality (filter, etc.), then make
sure you disconnect the recordset while processing it.

Bob Barrows

Steven Burn wrote:
Been taking a look into it since Aaron mentioned it ;o) (so far, I
can't see the difference as far as performance is concerned?)
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:Ow*************@TK2MSFTNGP10.phx.gbl...
Again, this use of RecordCount requires the use of an expensive
cursor type. Use the EOF property instead (as Aaron correctly
suggested):

'//immediately after opening the recordset:
If not rst.EOF then
'//recordset is not empty
else
'//recordset is empty
end if

Bob Barrows

Steven Burn wrote:
> I actually generally use;
>
> If rst.RecordCount > 0 then
> '// Something
> End If
>
> Just figured I'd be creative :o\
>
>
> "Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
> news:#s**************@TK2MSFTNGP09.phx.gbl...
>>> valTemp = rst.RecordCount
>>> Select Case valTemp
>>> Case 0
>>> Response.Redirect "nothing_in_there.asp"
>>> Case Else
>>> Response.Redirect "something_in_there.asp"
>>> End Select
>>
>> Except, RecordCount isn't available with the default cursor (-1
>> is the default), so your Else will probably always fire.
>>
>> The EOF property will tell you if the resultset is empty without
>> having to rely on a count.
>>
>> A

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap
so
I don't check it very often. If you must reply off-line, then
remove the "NO SPAM"


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so
I don't check it very often. If you must reply off-line, then remove
the "NO SPAM"


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #16
I would strongly suggest closing the recordset and connection before the
redirect. This should take place automatically when the page goes out of
score but I am a strong believer in "if you open it, close it" and "if you
create it, destroy it" (never have liked automatic garbage collectors).

set rs = conn.execute(sql)
if not rs.eof or sessionvarible1 = "1" then
targeturl = "page1.asp"
else
targeturl = "page2.asp"
end if

rs.close
set rs=nothing
conn.close
set conn=nothing

response.redirect targeturl

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Steven Burn" <pv*@noyb.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
set rs = conn.execute(sql)
if not rs.eof or sessionvarible1 = "1" then
response.redirect("page1.asp")
else
response.redirect("page2.asp")
end if

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Keith" <@.> wrote in message

news:u$**************@TK2MSFTNGP10.phx.gbl...
How (if possible) could I modify this so that it redirects to page 1 if RS
was NOT eof OR if a sessionvariable1 contained value1

If the session variable containes any other value or if the rs IS eof then redirect to page 2

Thanks
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
set rs = conn.execute(sql)
if rs.eof then
response.redirect("page1.asp")
else
response.redirect("page2.asp")
end if
--
http://www.aspfaq.com/
(Reverse address to reply.)


"Keith" <@.> wrote in message

news:#E*************@tk2msftngp13.phx.gbl... > How can I do the following:
>
> If recordset is empty, redirect to page1 but if recordset has something in,
> redirect to page 2.
>
> Thanks
>
>



Jul 19 '05 #17
ooo nice one, thankyou :o)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:#Y*************@tk2msftngp13.phx.gbl...
Go here:
http://msdn.microsoft.com/library/en...umerations.asp
From which you can link to :
http://msdn.microsoft.com/library/en...locationenum.a
sp
and
http://msdn.microsoft.com/library/en...ortypeenum.asp

Bob Barrows

Steven Burn wrote:
Bob,
To be honest, I didn't know about the two ad's you mentioned :o\

Thanks for the info :o)
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
On its own, you might not. Did you switch to using the less
expensive cursor type and location: adOpenForwardOnly and
adUseServer? Even if you did, you probably did not notice the
decrease in memory resources and cpu cycles used on both the web and
database servers when opening the less expensive cursor type. But I
guarantee you that the servers did "notice" it, and if you make the
change in enough pages that were using the more expensive cursor
types, you may notice an increase in overall performance of your
server.

Of course, if your web server does not get a lot of usage, you still
might not notice it, but that does not mean that this is not a Best
Practice which you should get into the habit of using:

Use the cheapest cursor type required to support your application's
functionality. For the most part in ASP, you will not need to use a
bookmarkable cursor (i.e., a cursor which supports scrolling and
recordcount), so you should use the default cursor in almost all
cases. If you DO need extra functionality (filter, etc.), then make
sure you disconnect the recordset while processing it.

Bob Barrows

Steven Burn wrote:
Been taking a look into it since Aaron mentioned it ;o) (so far, I
can't see the difference as far as performance is concerned?)
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:Ow*************@TK2MSFTNGP10.phx.gbl...
> Again, this use of RecordCount requires the use of an expensive
> cursor type. Use the EOF property instead (as Aaron correctly
> suggested):
>
> '//immediately after opening the recordset:
> If not rst.EOF then
> '//recordset is not empty
> else
> '//recordset is empty
> end if
>
> Bob Barrows
>
> Steven Burn wrote:
>> I actually generally use;
>>
>> If rst.RecordCount > 0 then
>> '// Something
>> End If
>>
>> Just figured I'd be creative :o\
>>
>>
>> "Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
>> news:#s**************@TK2MSFTNGP09.phx.gbl...
>>>> valTemp = rst.RecordCount
>>>> Select Case valTemp
>>>> Case 0
>>>> Response.Redirect "nothing_in_there.asp"
>>>> Case Else
>>>> Response.Redirect "something_in_there.asp"
>>>> End Select
>>>
>>> Except, RecordCount isn't available with the default cursor (-1
>>> is the default), so your Else will probably always fire.
>>>
>>> The EOF property will tell you if the resultset is empty without
>>> having to rely on a count.
>>>
>>> A
>
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap
> so
> I don't check it very often. If you must reply off-line, then
> remove the "NO SPAM"

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so
I don't check it very often. If you must reply off-line, then remove
the "NO SPAM"


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Jul 19 '05 #18

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
by: Fábio Mendes | last post by:
I'm sorry if it's an replicate. Either my e-mail program is messing with things or the python-list sent my msg to /dev/null. I couldn't find anything related in previous PEP's, so here it goes a...
15
by: Nerox | last post by:
Hi, If i write: #include <stdio.h> int foo(int); int main(void){ int a = 3; foo(a); }
13
by: eman1000 | last post by:
I was recently looking at the prototype library (http://prototype.conio.net/) and I noticed the author used the following syntax: Object.extend(MyObj.prototype, { my_meth1: function(){},...
37
by: Steven Bethard | last post by:
The PEP below should be mostly self explanatory. I'll try to keep the most updated versions available at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
18
by: Steven Bethard | last post by:
I've updated the PEP based on a number of comments on comp.lang.python. The most updated versions are still at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
28
by: Steven Bethard | last post by:
Ok, I finally have a PEP number. Here's the most updated version of the "make" statement PEP. I'll be posting it shortly to python-dev. Thanks again for the previous discussion and suggestions!...
7
by: Steven Bethard | last post by:
I've updated PEP 359 with a bunch of the recent suggestions. The patch is available at: http://bugs.python.org/1472459 and I've pasted the full text below. I've tried to be more explicit about...
19
by: Steve | last post by:
ASP error number 13 - Type mismatch with SELECT...FOR UPDATE statement I got ASP error number 13 when I use the SELECT...FOR UPDATE statement as below. However, if I use SELECT statement without...
18
by: dspfun | last post by:
Hi! The words "expression" and "statement" are often used in C99 and C- textbooks, however, I am not sure of the clear defintion of these words with respect to C. Can somebody provide a sharp...
23
by: florian.loitsch | last post by:
According to the spec Section 14 the production SourceElements:SourceElements SourceElement is evaluated as follows: 1. Evaluate SourceElements. 2. If Result(1) is an abrupt completion, return...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
jinu1996
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...
0
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...
0
tracyyun
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.