Click here to Skip to main content
15,912,507 members
Home / Discussions / Database
   

Database

 
QuestionCopying column with OLE Object datatype? Pin
kbalias21-Dec-06 18:36
kbalias21-Dec-06 18:36 
AnswerRe: Copying column with OLE Object datatype? Pin
Colin Angus Mackay21-Dec-06 23:10
Colin Angus Mackay21-Dec-06 23:10 
QuestionConnection Issue While connecting to SqlServer 2000 from ASP.NET 2.0 Pin
nesaraja21-Dec-06 18:29
nesaraja21-Dec-06 18:29 
AnswerRe: Connection Issue While connecting to SqlServer 2000 from ASP.NET 2.0 Pin
Colin Angus Mackay21-Dec-06 23:08
Colin Angus Mackay21-Dec-06 23:08 
QuestionDeleted row outside program problem. Pin
Tomy140221-Dec-06 15:43
Tomy140221-Dec-06 15:43 
AnswerRe: Deleted row outside program problem. Pin
Frank Kerrigan21-Dec-06 23:43
Frank Kerrigan21-Dec-06 23:43 
GeneralRe: Deleted row outside program problem. Pin
Tomy140222-Dec-06 15:21
Tomy140222-Dec-06 15:21 
QuestionHow do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
howardjr21-Dec-06 12:43
howardjr21-Dec-06 12:43 
I've been quoting string parameters using single qoutes as follows:

QueryString = "Select * " &  _
                  "From Employees " & _
                 "Where LastName = '" & EmpLastName & "'"

This works well unless the last name includes a quote, i.e., "Mc'Donald"
So how do you quote the string in visual basic so that Oracle won't hang up on the interior quote?

The same thing happens when you need to query or store feet and inches values ( 9'4" ).
So how would I quote that?

Thanks

P.S., this is for Oracle 8i, if it makes a difference.
AnswerRe: How do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
Colin Angus Mackay21-Dec-06 13:24
Colin Angus Mackay21-Dec-06 13:24 
GeneralRe: How do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
howardjr21-Dec-06 16:49
howardjr21-Dec-06 16:49 
GeneralRe: How do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
Mairaaj Khan21-Dec-06 21:17
professionalMairaaj Khan21-Dec-06 21:17 
GeneralRe: How do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
Colin Angus Mackay21-Dec-06 23:05
Colin Angus Mackay21-Dec-06 23:05 
GeneralRe: How do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
howardjr22-Dec-06 6:56
howardjr22-Dec-06 6:56 
GeneralRe: How do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
Colin Angus Mackay22-Dec-06 7:00
Colin Angus Mackay22-Dec-06 7:00 
GeneralRe: How do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
Paul Conrad22-Dec-06 7:24
professionalPaul Conrad22-Dec-06 7:24 
GeneralRe: How do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
Colin Angus Mackay22-Dec-06 8:03
Colin Angus Mackay22-Dec-06 8:03 
GeneralRe: How do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
howardjr23-Dec-06 19:43
howardjr23-Dec-06 19:43 
QuestionHow to trim fields on the table Sql Server 2000 ? Pin
kindman_nb21-Dec-06 11:34
kindman_nb21-Dec-06 11:34 
AnswerRe: How to trim fields on the table Sql Server 2000 ? Pin
Colin Angus Mackay21-Dec-06 13:26
Colin Angus Mackay21-Dec-06 13:26 
GeneralRe: How to trim fields on the table Sql Server 2000 ? Pin
kindman_nb22-Dec-06 10:19
kindman_nb22-Dec-06 10:19 
AnswerRe: How to trim fields on the table Sql Server 2000 ? Pin
Frank Kerrigan21-Dec-06 23:46
Frank Kerrigan21-Dec-06 23:46 
GeneralRe: How to trim fields on the table Sql Server 2000 ? Pin
kindman_nb22-Dec-06 0:13
kindman_nb22-Dec-06 0:13 
QuestionData Link support for Data Transformation Services Pin
Jay Legue21-Dec-06 4:07
Jay Legue21-Dec-06 4:07 
AnswerRe: Data Link support for Data Transformation Services Pin
Frank Kerrigan21-Dec-06 23:48
Frank Kerrigan21-Dec-06 23:48 
GeneralRe: Data Link support for Data Transformation Services Pin
Frank Kerrigan21-Dec-06 23:49
Frank Kerrigan21-Dec-06 23:49 

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.