REGISTER
|
Search Tycoon Talk
|
Freelancer.com
|
Members
Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.
Register Here
Forum Rules
ASP.NET Forum
You are currently viewing our ASP.NET Forum as a guest. Please
register
to participate.
Login
Remember Me?
Login via Freelancer.com
Tycoon Talk
>
Web Development and Programming Support
>
ASP.NET Forum
>
Check if data exists in database
Link Back
Thread Tools
Search this Thread
Check if data exists in database
10-11-2005, 04:33 AM
#
1
(
permalink
)
Check if data exists in database
tcb
Experienced Talker
Posts: 34
Trades:
0
Talkupation:
Hello,
How can I check if data exists in database?
tcb.
Register
now for full access!
10-11-2005, 07:31 PM
#
2
(
permalink
)
robsmith
Skilled Talker
Posts: 50
Location: UK
Trades:
0
Talkupation:
If you want to know if a record exists, go here:
http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=106
10-12-2005, 04:35 AM
#
3
(
permalink
)
tcb
Experienced Talker
Posts: 34
Trades:
0
Talkupation:
Hello Robsmith,
I tried the code from the site you've indicated, but an error occurs on the following line:
Set rs = db.Execute(sSQL)
Here is the error:
[Oracle][ODBC][Ora]ORA-00900: invalid SQL statement
tcb.
10-17-2005, 11:32 PM
#
4
(
permalink
)
WebcyteDesign
Registered User
Posts: 159
Location: Hamilton
Trades:
0
Talkupation:
Have you changed the querystring and connection string to point to your database?
10-18-2005, 08:19 AM
#
5
(
permalink
)
tcb
Experienced Talker
Posts: 34
Trades:
0
Talkupation:
Yes. But now I am using some IFs outside the SQL statement. And the problem with the "Set rs = db.Execute(sSQL)" line is not occuring anymore.
Thanks anyway.
tcb.
10-21-2005, 01:48 PM
#
6
(
permalink
)
pjb007
Super Talker
Posts: 104
Location: UK
Trades:
0
Talkupation:
http://www.codefixer.com/
is an excellent website.
I think that this page may help with what you want to to.
http://www.codefixer.com/tutorials/n...s_returned.asp
__________________
pjb007
« Reply to
Check if data exists in database
Previous Thread
|
Next Thread
Tycoon Talk
>
Web Development and Programming Support
>
ASP.NET Forum
>
Check if data exists in database
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Forum Rules
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Tweet this thread
Page generated in
0.37789
seconds with
12
queries