Click here to Skip to main content
15,887,316 members
Home / Discussions / Database
   

Database

 
QuestionSQL query optimization Pin
Member 46483709-Dec-09 1:59
Member 46483709-Dec-09 1:59 
AnswerRe: SQL query optimization Pin
WoutL9-Dec-09 2:30
WoutL9-Dec-09 2:30 
GeneralRe: SQL query optimization [modified] Pin
Member 46483709-Dec-09 3:02
Member 46483709-Dec-09 3:02 
GeneralRe: SQL query optimization Pin
Member 46483709-Dec-09 3:47
Member 46483709-Dec-09 3:47 
GeneralRe: SQL query optimization Pin
WoutL9-Dec-09 20:46
WoutL9-Dec-09 20:46 
AnswerRe: SQL query optimization Pin
_Damian S_9-Dec-09 19:24
professional_Damian S_9-Dec-09 19:24 
Questionsystem error code 126 Pin
T21029-Dec-09 1:21
T21029-Dec-09 1:21 
Question"Syscomments" system table corrupted Pin
www.Developerof.NET9-Dec-09 0:28
www.Developerof.NET9-Dec-09 0:28 
Hi,

I have SQL 2000 installed on my development machine. Things were fine till yesterday, but then things started turning out nasty.

I created an SP with name sp_retrieve_ageinginward_details ( I am aware that naming SPs with "sp_" as a prefix is not good ). Today just to make a minor change i scripted the SP, but it returns an error:

---------------------------
SQL Query Analyzer
---------------------------
[SQL-DMO]Object 'dbo.sp_retrieve_ageinginward_details' was not scripted. It is possible that the information in system table 'syscomments' about the object was corrupt or missing.
---------------------------
OK   
---------------------------



Also when i check the script from syscomments it gives me an error in an C++ file.

Server: Msg 3624, Level 20, State 1, Line 1
 
Location:	 recbase.cpp:1371
Expression:	 m_nVars > 0
SPID:		 57
Process ID:	 556

Connection Broken



How can i retrieve my SP from my DB Sigh | :sigh: Sigh | :sigh: , since its huge and i have no backup. Cry | :(( Cry | :((

Pls help.......

When you fail to plan, you are planning to fail.

AnswerRe: "Syscomments" system table corrupted Pin
Ashfield9-Dec-09 1:17
Ashfield9-Dec-09 1:17 
QuestionSQL Copy Table in C# Pin
bxlorenz8-Dec-09 13:40
bxlorenz8-Dec-09 13:40 
AnswerRe: SQL Copy Table in C# Pin
loyal ginger8-Dec-09 15:49
loyal ginger8-Dec-09 15:49 
AnswerRe: SQL Copy Table in C# Pin
Niladri_Biswas8-Dec-09 21:36
Niladri_Biswas8-Dec-09 21:36 
AnswerRe: SQL Copy Table in C# Pin
Paul Voicu10-Dec-09 2:06
Paul Voicu10-Dec-09 2:06 
QuestionINSTEAD OF trigger Pin
Member 47041438-Dec-09 13:34
Member 47041438-Dec-09 13:34 
AnswerRe: INSTEAD OF trigger Pin
David Skelly8-Dec-09 23:43
David Skelly8-Dec-09 23:43 
GeneralRe: INSTEAD OF trigger [modified] Pin
Member 47041439-Dec-09 0:30
Member 47041439-Dec-09 0:30 
Questionsqlserver apostrophe problem. Pin
gerrybrennan7-Dec-09 20:54
gerrybrennan7-Dec-09 20:54 
AnswerRe: sqlserver apostrophe problem. Pin
Ashfield7-Dec-09 20:56
Ashfield7-Dec-09 20:56 
GeneralRe: sqlserver apostrophe problem. Pin
gerrybrennan7-Dec-09 21:14
gerrybrennan7-Dec-09 21:14 
AnswerRe: sqlserver apostrophe problem. Pin
Niladri_Biswas7-Dec-09 21:42
Niladri_Biswas7-Dec-09 21:42 
AnswerRe: sqlserver apostrophe problem. Pin
Nilesh.Kuvar7-Dec-09 23:28
Nilesh.Kuvar7-Dec-09 23:28 
AnswerRe: sqlserver apostrophe problem. Pin
Blue_Boy8-Dec-09 0:22
Blue_Boy8-Dec-09 0:22 
GeneralRe: sqlserver apostrophe problem. Pin
gerrybrennan8-Dec-09 5:41
gerrybrennan8-Dec-09 5:41 
GeneralRe: sqlserver apostrophe problem. Pin
Blue_Boy8-Dec-09 6:09
Blue_Boy8-Dec-09 6:09 
QuestionHow to remove the duplicate records with the old timestamp. Pin
chakran7-Dec-09 20:00
chakran7-Dec-09 20:00 

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.