Notices

Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

SQL Search: can someone point me in the right direction?

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 06-05-06, 09:37 AM Thread Starter   #1
perfectturmoil
Member



Join Date: Oct 2004
Location: Hillbillyville

 
SQL Search: can someone point me in the right direction?


Hey.

I need to make a websearch for our SQL database. I want to check one column for keyword matches, and display the entries that match (Title: [whatever that's title is] Lot: [that entries lot number] etc).

I had a tutorial for .ASP that I used. I'd like to look into more robust options. Can someone point me in the right direction? That'd be great! Either ASP.net, PHP, or anything else that will get me my answer.

Heres an image of what I want my final product to be like... each of those tags are a column in the database, and the image is also derived from a tag in the database.

http://i5.tinypic.com/11s1ssp.jpg

So, if anyone has any suggestions of the best route to take (IE: which is the best answer, php, asp.net, something else), and any pointers where to find some info like tutorials and examples, that'd be great :- ]
perfectturmoil is offline   QUOTE Thanks
Old 06-05-06, 08:27 PM   #2
Tacoman667
Member



Join Date: Apr 2001
Location: Kingwood, TX

 
Use ASP.NET and SQLConnection object, an SQLAdapter object, and a dataset to pull out the information. You will need to write a SELECT statement as well. For example, SELECT * FROM tbl1 WHERE (rcd1 = "Today's Date").

That is not the exact syntax, if it is it was by mistake.

__________________
Who was the first person to look at a cow and say, "I think I'll squeeze these dangly things here, and drink whatever comes out?"

Who was the first person to say "See that chicken there....I'm gonna eat the next thing that comes out of it's butt."



A64 3200+
DFI LanParty UT NF3 250GB
1024meg 2x512meg Kingston HyperX
ATI 9800 PRO 128meg
2x80gig Maxtor SATA RAID0
Tacoman667 is offline   QUOTE Thanks
Old 06-06-06, 11:36 AM   #3
klingens
Member



Join Date: Apr 2002
Location: Xanadu

 
Best route depends on the server OS, webserver and not the least what you already know. E.g. php on IIS server is doable but certainly not the best way.
klingens is offline   QUOTE Thanks
Old 06-06-06, 09:36 PM   #4
maddog39

 
maddog39's Avatar 

Join Date: May 2006
Location: Somerville, MA

 
I'm a PHP web developer and I do it like this in MySQL.

Code:
SELECT * FROM database_name WHERE row_name LIKE %keyword%

__________________
My Rig:
Windows 7 64
EVGA nForce 780i SLI
Intel Core 2 Quad Q6600 @ 3.21GHz VCORE 1.325
4x1GB Corsair XMS2 DDR2 800
EVGA GTX 260 C216 SSC 896MB
maddog39 is offline   QUOTE Thanks
Old 06-06-06, 10:04 PM   #5
Elif Tymes
Member

 
Elif Tymes's Avatar 

Join Date: Dec 2004

 
Ideally, you would not be using ASP, as that will require whatever host you are hosting it on to have a Microsoft license, which costs crapload of money.

You should look into learning PHP and MySQL as that would be the best system for creating a cross platform website.

__________________
Heatware:
Trolls: You mess with one of us, you mess with SSS
Gamertag: Elif Tymes
Elif Tymes is offline   QUOTE Thanks
Old 06-07-06, 06:08 PM   #6
Tacoman667
Member



Join Date: Apr 2001
Location: Kingwood, TX

 
The server just needs to be a windows server with IIS installed. You could do this on your home computer running WinXP Pro. I have an ASP.NET site on godaddy for 7 bucks a month. 50Gigs, 200gigs bandwidth, a ton of emails that I will never use, and access to all HTML, ASP.NET 1.1 or 2.0, php, python, etc.

__________________
Who was the first person to look at a cow and say, "I think I'll squeeze these dangly things here, and drink whatever comes out?"

Who was the first person to say "See that chicken there....I'm gonna eat the next thing that comes out of it's butt."



A64 3200+
DFI LanParty UT NF3 250GB
1024meg 2x512meg Kingston HyperX
ATI 9800 PRO 128meg
2x80gig Maxtor SATA RAID0
Tacoman667 is offline   QUOTE Thanks
Old 06-07-06, 08:38 PM Thread Starter   #7
perfectturmoil
Member



Join Date: Oct 2004
Location: Hillbillyville

 
We're a company - trust me, a licence for SQL and Server 2003 is the least of our worries ;- ]

So PHP and IIS is a pain? If thats the case, ASP.NET seems like it may do the trick.

Is it similar in respects to ASP? Or did they tooootally change things around like they have a habit of doing?
perfectturmoil is offline   QUOTE Thanks
Old 06-08-06, 07:55 AM   #8
Tacoman667
Member



Join Date: Apr 2001
Location: Kingwood, TX

 
Few things are the same, but for the most part the .NET variety is different and far superior to plane jane ASP. I never had the pleasure of using ASP as schools went straight to .NET and that is all they teach now. I can say that ASP.NET is awesome and 2.0 makes it even better! go to ASP.NET on the web and see all you need to know. You can get Visual Web Developer Express 2005 for free from MS and it will do anything you need minuse a few tools that are only available with standard and above. Express will suit you all just fine though.

__________________
Who was the first person to look at a cow and say, "I think I'll squeeze these dangly things here, and drink whatever comes out?"

Who was the first person to say "See that chicken there....I'm gonna eat the next thing that comes out of it's butt."



A64 3200+
DFI LanParty UT NF3 250GB
1024meg 2x512meg Kingston HyperX
ATI 9800 PRO 128meg
2x80gig Maxtor SATA RAID0
Tacoman667 is offline   QUOTE Thanks
Old 06-08-06, 10:17 PM   #9
Elif Tymes
Member

 
Elif Tymes's Avatar 

Join Date: Dec 2004

 
Eck. ASP is < PHP. PHP + APACHE is the way to go, gettin a LAMP(Linux, Apache, MySQL, PHP) server is simple and effective. Also, if you're company is planning on building a Database Web application, it may be advisable to hire an independant contractor for something like this.... Unless you want to do it yourself. In that case, I would seriously attempt to learn Ruby on Rails, and set up an Apache /Ruby on Rails server, there are quite a few different guides for that to.

__________________
Heatware:
Trolls: You mess with one of us, you mess with SSS
Gamertag: Elif Tymes
Elif Tymes is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 09:11 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?