Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »Programming Forum

Notices

Programming Forum Web and Software Programming Forum - Java, PHP, SQL etc.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-03-2007, 10:37 AM
gazneale's Avatar
Important Member
 
Join Date: Jan 2007
Posts: 145
Default SQL user input

Okay so basically i want a prompt to appear when the query is run
for example:

Code:
SELECT column FROM table WHEN anothercolumn=[insert column name here]
That query works in access fine as access recognises anything in [] as a prompt. However i'm using openoffice base and it doesnt recognise it.

Is there a standard SQL tag for a user prompt?
__________________
Gareth Neale
http://www,youtube.com/30secondrice
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #2 (permalink)  
Old 03-05-2007, 08:59 AM
Junior Member
 
Join Date: Apr 2007
Location: Kingston upon Hull
Posts: 7
Default

It is a little confusing what you are trying to do, because on the face of it, it looks like you're trying to select a column with an escaped constraint.
I suppose it all depends what software you are using to return your data. You could try using one of MS's other escaped characters, such as ' or ".
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 07-05-2007, 12:04 PM
NickReffitt's Avatar
Junior Member
 
Join Date: May 2007
Posts: 13
Default

Try using WHERE as opposed to WHEN.
__________________
NickReffitt.co.uk - Hire Me!
Web Design, Print Design, xHTML, CSS, PHP & MySQL
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Input form spnwebdesign Graphic Design and Web Design Help 13 02-03-2008 08:21 PM
CSS-P input - IE displays all ginky Richmilnix CSS Forum 4 26-12-2007 07:17 PM
Input fields in movieclips kate!! Flash Forum 6 23-11-2007 09:00 PM
Logo/Font Input SuperSmash Graphic Design and Web Design Help 7 05-11-2007 07:42 AM
Display user input (SQL) gazneale Programming Forum 8 29-03-2007 01:52 PM


All times are GMT. The time now is 07:47 AM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5