Click here to Skip to main content
15,886,919 members
Home / Discussions / Database
   

Database

 
AnswerRe: Composite Primary Key Pin
Rob Philpott9-Mar-09 23:21
Rob Philpott9-Mar-09 23:21 
GeneralRe: Composite Primary Key Pin
Jay Royall9-Mar-09 23:36
Jay Royall9-Mar-09 23:36 
AnswerRe: Composite Primary Key Pin
Curtis Schlak.10-Mar-09 13:29
Curtis Schlak.10-Mar-09 13:29 
AnswerRe: Composite Primary Key Pin
Mycroft Holmes10-Mar-09 16:43
professionalMycroft Holmes10-Mar-09 16:43 
Questionhow to generate ID field with auto numbering Pin
sharp_k9-Mar-09 12:44
sharp_k9-Mar-09 12:44 
AnswerRe: how to generate ID field with auto numbering Pin
Luc Pattyn9-Mar-09 13:15
sitebuilderLuc Pattyn9-Mar-09 13:15 
AnswerRe: how to generate ID field with auto numbering Pin
Reza Raad9-Mar-09 18:20
Reza Raad9-Mar-09 18:20 
QuestionDB2 - SQL where selects field that contains @ Pin
Kschuler9-Mar-09 6:43
Kschuler9-Mar-09 6:43 
I need to query a file using DB2's flavor of SQL. My query is selecting rows based on email address and I'm having trouble because the email address contains the @ symbol. Does anyone know of an escape character or something I can use to specify that I'm actually looking for the @ symbol instead of it thinking I'm loading a parmeter or something?

My basic statement is something like this:
SELECT * FROM MyLib.MyFile WHERE email='myemail@hotmail.com'

The statement doesn't error out. It just returns nothing, even when I know that the specified email address is in the file. And it's not an issue with lower/upper case letters, I've looked into that as well.

If anyone has any ideas for me, I'd really appreciate any help.
Answer2 Pin
Luc Pattyn9-Mar-09 7:11
sitebuilderLuc Pattyn9-Mar-09 7:11 
GeneralRe: 2 Pin
Kschuler9-Mar-09 7:19
Kschuler9-Mar-09 7:19 
GeneralRe: 2 Pin
Luc Pattyn9-Mar-09 7:34
sitebuilderLuc Pattyn9-Mar-09 7:34 
GeneralRe: 2 Pin
Kschuler9-Mar-09 7:38
Kschuler9-Mar-09 7:38 
GeneralRe: 2 Pin
Luc Pattyn9-Mar-09 7:48
sitebuilderLuc Pattyn9-Mar-09 7:48 
GeneralRe: 2 Pin
Kschuler9-Mar-09 8:05
Kschuler9-Mar-09 8:05 
AnswerRe: DB2 - SQL where selects field that contains @ Pin
Kschuler9-Mar-09 9:08
Kschuler9-Mar-09 9:08 
GeneralRe: DB2 - SQL where selects field that contains @ Pin
Luc Pattyn9-Mar-09 10:01
sitebuilderLuc Pattyn9-Mar-09 10:01 
Questionhow to use stored procedure argument with like operator Pin
Meax7-Mar-09 8:03
Meax7-Mar-09 8:03 
AnswerRe: how to use stored procedure argument with like operator Pin
Meax7-Mar-09 9:31
Meax7-Mar-09 9:31 
GeneralRe: how to use stored procedure argument with like operator Pin
Colin Angus Mackay7-Mar-09 12:23
Colin Angus Mackay7-Mar-09 12:23 
GeneralRe: how to use stored procedure argument with like operator Pin
Rami Said Abd Alhalim9-Mar-09 21:43
Rami Said Abd Alhalim9-Mar-09 21:43 
GeneralRe: how to use stored procedure argument with like operator Pin
Colin Angus Mackay10-Mar-09 13:17
Colin Angus Mackay10-Mar-09 13:17 
QuestionSQL search all columns [modified] Pin
Expert Coming7-Mar-09 4:43
Expert Coming7-Mar-09 4:43 
AnswerRe: SQL search all columns Pin
Eddy Vluggen7-Mar-09 4:47
professionalEddy Vluggen7-Mar-09 4:47 
AnswerRe: SQL search all columns Pin
Kschuler9-Mar-09 8:10
Kschuler9-Mar-09 8:10 
QuestionCheck if SQL is doing some king of process Pin
cdpace6-Mar-09 22:17
cdpace6-Mar-09 22:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.