Click here to Skip to main content
15,891,718 members
Home / Discussions / Database
   

Database

 
AnswerRe: Error trapping in SQL Server 2005 Pin
thatraja1-Aug-11 15:00
professionalthatraja1-Aug-11 15:00 
QuestionDynamic sort Pin
vanikanc1-Aug-11 2:54
vanikanc1-Aug-11 2:54 
AnswerRe: Dynamic sort Pin
Herman<T>.Instance1-Aug-11 3:15
Herman<T>.Instance1-Aug-11 3:15 
GeneralRe: Dynamic sort Pin
vanikanc1-Aug-11 3:45
vanikanc1-Aug-11 3:45 
GeneralRe: Dynamic sort Pin
Corporal Agarn1-Aug-11 5:18
professionalCorporal Agarn1-Aug-11 5:18 
AnswerRe: Dynamic sort [modified] Pin
Shameel1-Aug-11 5:30
professionalShameel1-Aug-11 5:30 
GeneralRe: Dynamic sort Pin
vanikanc1-Aug-11 7:34
vanikanc1-Aug-11 7:34 
AnswerRe: Dynamic sort Pin
jschell1-Aug-11 8:34
jschell1-Aug-11 8:34 
Seems to be some confusion in the back and forth in the answers above.

A SQL text literal is expressed like the following example.

'abc'


If you want to embed a single tick in the above literal you MUST escape it. The standard SQL (ANSI) idiom for that is as follows (but some databases offer other ways.)

'a''bc'


So two single ticks become one.

Three ticks is NEVER correct.
QuestionStored Procedure to find emails Pin
Tiger45631-Jul-11 7:08
Tiger45631-Jul-11 7:08 
AnswerRe: Stored Procedure to find emails [modified] Pin
Shameel31-Jul-11 7:20
professionalShameel31-Jul-11 7:20 
GeneralRe: Stored Procedure to find emails Pin
Tiger45631-Jul-11 7:41
Tiger45631-Jul-11 7:41 
GeneralRe: Stored Procedure to find emails Pin
Shameel31-Jul-11 7:47
professionalShameel31-Jul-11 7:47 
GeneralRe: Stored Procedure to find emails Pin
Anish Gopi2-Aug-11 2:02
sitebuilderAnish Gopi2-Aug-11 2:02 
GeneralRe: Stored Procedure to find emails Pin
Shameel2-Aug-11 8:45
professionalShameel2-Aug-11 8:45 
Question[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. Pin
nazimghori31-Jul-11 1:14
nazimghori31-Jul-11 1:14 
AnswerRe: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. Pin
thatraja31-Jul-11 6:03
professionalthatraja31-Jul-11 6:03 
AnswerRe: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. Pin
Shameel31-Jul-11 7:23
professionalShameel31-Jul-11 7:23 
AnswerRe: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. Pin
Monjurul Habib31-Jul-11 7:41
professionalMonjurul Habib31-Jul-11 7:41 
QuestionMaking the SSIS Data Reader Source Query Dynamic Pin
Member 808202128-Jul-11 14:44
Member 808202128-Jul-11 14:44 
AnswerRe: Making the SSIS Data Reader Source Query Dynamic Pin
S Douglas11-Aug-11 9:29
professionalS Douglas11-Aug-11 9:29 
GeneralRe: Making the SSIS Data Reader Source Query Dynamic Pin
Member 808202115-Oct-11 4:37
Member 808202115-Oct-11 4:37 
QuestionHow to get the 'GENERATED ALWAYS AS IDENTITY' attribute of the column from a DB2 table? Pin
coder21k27-Jul-11 20:17
coder21k27-Jul-11 20:17 
QuestionLast record in MYSQL Pin
pix_programmer27-Jul-11 18:45
pix_programmer27-Jul-11 18:45 
AnswerRe: Last record in MYSQL Pin
_Damian S_27-Jul-11 19:23
professional_Damian S_27-Jul-11 19:23 
AnswerRe: Last record in MYSQL Pin
thatraja28-Jul-11 15:26
professionalthatraja28-Jul-11 15:26 

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.