Click here to Skip to main content
15,893,266 members
Home / Discussions / Database
   

Database

 
AnswerRe: Transfering Database? Pin
Reza Raad21-Jan-09 0:19
Reza Raad21-Jan-09 0:19 
AnswerRe: Transfering Database? Pin
Senthil_M21-Jan-09 1:14
Senthil_M21-Jan-09 1:14 
GeneralRe: Transfering Database? Pin
Karthick_gc28-Jan-09 19:49
Karthick_gc28-Jan-09 19:49 
GeneralRe: Transfering Database? Pin
Senthil_M28-Jan-09 20:33
Senthil_M28-Jan-09 20:33 
Questionselect problem Pin
mahmoudinirat20-Jan-09 21:39
mahmoudinirat20-Jan-09 21:39 
AnswerRe: select problem Pin
Blue_Boy20-Jan-09 22:07
Blue_Boy20-Jan-09 22:07 
GeneralRe: select problem Pin
Senthil_M21-Jan-09 1:11
Senthil_M21-Jan-09 1:11 
QuestionTSQL Error on the Following Statement Pin
Vimalsoft(Pty) Ltd20-Jan-09 20:54
professionalVimalsoft(Pty) Ltd20-Jan-09 20:54 
Good Morning Guys

I have the Following statement, that works well when i test it alone

declare @Results int exec [dbo].[sp_RestoreDatabase_O_Booking] 'MasekoTS','MasterDatabase', @Results OUT


But now, i want to include this code in a Stored Procedure and i tried to do it like this

SELECT @sql1 = 'Declare @Results int exec [dbo].[sp_RestoreDatabase_O_Booking] ''' + @DB + ''', ''' + @Filename + '''@Results OUT'''
execute ( @sql1 )


and i get the Following Error

Msg 105, Level 15, State 1, Line 1
Unclosed quotation mark after the character string 'sp_RestoreDatabase_O_Bookin'.
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near 'sp_RestoreDatabase_O_Bookin'.


Thank you

Vuyiswa Maseko,

Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswam@its.co.za


AnswerRe: TSQL Error on the Following Statement Pin
Ashfield21-Jan-09 0:37
Ashfield21-Jan-09 0:37 
GeneralRe: TSQL Error on the Following Statement Pin
Vimalsoft(Pty) Ltd21-Jan-09 21:46
professionalVimalsoft(Pty) Ltd21-Jan-09 21:46 
GeneralRe: TSQL Error on the Following Statement Pin
Ashfield22-Jan-09 1:13
Ashfield22-Jan-09 1:13 
AnswerRe: TSQL Error on the Following Statement [modified] Pin
Jon_Boy21-Jan-09 2:28
Jon_Boy21-Jan-09 2:28 
GeneralRe: TSQL Error on the Following Statement Pin
Vimalsoft(Pty) Ltd22-Jan-09 3:50
professionalVimalsoft(Pty) Ltd22-Jan-09 3:50 
QuestionDelete instead of Update Pin
CodingYoshi20-Jan-09 19:06
CodingYoshi20-Jan-09 19:06 
AnswerRe: Delete instead of Update Pin
Mycroft Holmes20-Jan-09 20:56
professionalMycroft Holmes20-Jan-09 20:56 
GeneralRe: Delete instead of Update Pin
Jon_Boy21-Jan-09 2:32
Jon_Boy21-Jan-09 2:32 
AnswerRe: Delete instead of Update Pin
Wendelius20-Jan-09 21:07
mentorWendelius20-Jan-09 21:07 
QuestionTable Structure Pin
CodingYoshi20-Jan-09 19:03
CodingYoshi20-Jan-09 19:03 
AnswerRe: Table Structure Pin
Andy_L_J20-Jan-09 20:10
Andy_L_J20-Jan-09 20:10 
JokeRe: Table Structure Pin
Mycroft Holmes20-Jan-09 20:51
professionalMycroft Holmes20-Jan-09 20:51 
QuestionWhat is the right SQL Query... Pin
jacebeleren20-Jan-09 18:54
jacebeleren20-Jan-09 18:54 
AnswerRe: What is the right SQL Query... Pin
Mycroft Holmes20-Jan-09 20:45
professionalMycroft Holmes20-Jan-09 20:45 
QuestionThe syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Pin
BobClarkSQL20-Jan-09 6:44
BobClarkSQL20-Jan-09 6:44 
AnswerRe: The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Pin
Wendelius20-Jan-09 7:04
mentorWendelius20-Jan-09 7:04 
GeneralRe: The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Pin
BobClarkSQL20-Jan-09 7:09
BobClarkSQL20-Jan-09 7:09 

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.