|
Thread: SQL
-
Oct 28th, 2000, 06:03 AM
#1
Thread Starter
Hyperactive Member
I'm building a search page using dreamweaver Ultradev, and it needs an SQL query string to search the database. My problem is this.
The current query string
Code:
Select from Search where sHeader like '%Header&'
only returns results which exactly match the query. How do I return results which include the query?
THX
-
Oct 28th, 2000, 08:38 AM
#2
New Member
Joooooooooo
I show u my handmade script, i dont know Dreamwaver Ultra Dev, sorry
here the source:
<%
SET Conn = Server.CreateObject("ADODB.Connection")
Conn.open "DSN=kunden"
%>
<%
SET RS = Conn.Execute("SELECT * FROM kunden ORDER BY Name")
SET RS1 = Conn.Execute("SELECT COUNT(ID) FROM kunden")
%>
'to show the first cell:
<%=RS(0)%>
ASPiration is the Power of Live
-
Oct 28th, 2000, 09:29 AM
#3
Thread Starter
Hyperactive Member
THX, I'll try that later!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|