To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


EIT Planet's Security News
 Security Vulnerabilities Prove Increasingly Costly
 IPS Market Approaches $1 Billion
 U.S. Named Top Spammer

Security Products
 Family Keylogger (Family Keylogger)
 modusGate (Vircom Inc.)
 Kernel Hotmail MSN Password Recovery (Nucleus Data Recovery)
 Outlook 2003 PST Password Recovery (PST Password Recovery)
 PST Password Remove (PST Password Remove)
 Zemana Anti Keylogger (Vickit, Inc.)


Go Back   Antionline Forums - Maximum Security for a Connected World > General Technology Forums > Code Review

Code Review Antionline community members can use this section of the site to post code for sharing and testing.

Reply
 
Thread Tools Display Modes
Old February 23rd, 2010, 05:11 PM   #1
mooret
Member
 
Join Date: Oct 2003
Posts: 81
mooret is on a distinguished road
SQL Query help

Im trying to create an SQL query but get the following error

Can anyone please help ?

All I want to do is display the name of everything where the parent is named "01 - PRIME Wave 1"

if anyone can also tell me how I do it for several parents also would be good

Thanks
Attached Images
File Type: jpg SQLerror.jpg (19.9 KB, 10 views)
mooret is offline   Reply With Quote
Old February 23rd, 2010, 06:38 PM   #2
westin
Gonzo District BOFH
 
westin's Avatar
 
Join Date: Jan 2006
Location: SW MO
Posts: 888
westin has a reputation beyond reputewestin has a reputation beyond reputewestin has a reputation beyond reputewestin has a reputation beyond reputewestin has a reputation beyond reputewestin has a reputation beyond reputewestin has a reputation beyond reputewestin has a reputation beyond reputewestin has a reputation beyond reputewestin has a reputation beyond reputewestin has a reputation beyond repute
Maybe I am getting old, but I had some trouble reading that. Could you post the text from the error into the thread?
__________________
\"Those of us that had been up all night were in no mood for coffee and donuts, we wanted strong drink.\"

-HST
westin is offline   Reply With Quote
Old February 23rd, 2010, 11:13 PM   #3
HYBR|D
Senior Member
 
Join Date: Jun 2002
Location: Ozz.
Posts: 257
HYBR|D is a splendid one to beholdHYBR|D is a splendid one to beholdHYBR|D is a splendid one to beholdHYBR|D is a splendid one to beholdHYBR|D is a splendid one to beholdHYBR|D is a splendid one to beholdHYBR|D is a splendid one to behold
Upload the image to an externale image host, as unfortunatly the image size guidelines here are awfully stupid.

http://imageshack.us

HYBR|D is offline   Reply With Quote
Old February 24th, 2010, 10:24 AM   #4
Cheap Scotch Ron
AO's Filibustier
 
Cheap Scotch Ron's Avatar
 
Join Date: Nov 2008
Location: Swamps of Jersey
Posts: 371
Cheap Scotch Ron has much to be proud ofCheap Scotch Ron has much to be proud ofCheap Scotch Ron has much to be proud ofCheap Scotch Ron has much to be proud ofCheap Scotch Ron has much to be proud ofCheap Scotch Ron has much to be proud ofCheap Scotch Ron has much to be proud ofCheap Scotch Ron has much to be proud ofCheap Scotch Ron has much to be proud of
Assuming you are using MS SQLServer (image not clear), change the SQL to use single quotes.

e.g.

Select NameColumn from MetaTable where NameColumn = '01 - PRIME Wave 1'
__________________
In God We Trust....Everything else we backup.

Last edited by Cheap Scotch Ron; February 24th, 2010 at 10:38 AM..
Cheap Scotch Ron is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Tutorial – Basics mikester2 Other Tutorials Forum 5 January 31st, 2005 12:16 PM
SQL Tutorial ch4r Other Tutorials Forum 5 January 18th, 2005 07:20 AM
Foot Printing with Host SonofGalen The Security Tutorials Forum 7 February 9th, 2004 10:14 AM
Heads Up - Cumulative Patch for Microsoft SQL Server (815495) CXGJarrod Microsoft Security Discussions 0 July 23rd, 2003 10:00 PM
SQL Sapphire Worm Analysis s0nIc AntiVirus Discussions 2 January 27th, 2003 11:23 AM


All times are GMT +1. The time now is 11:57 AM.












Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.