Click here to Skip to main content
15,908,254 members
Home / Discussions / Database
   

Database

 
GeneralException with SQL connection Pin
Steven M Hunt14-Oct-04 4:07
Steven M Hunt14-Oct-04 4:07 
GeneralRe: Exception with SQL connection Pin
Colin Angus Mackay14-Oct-04 4:55
Colin Angus Mackay14-Oct-04 4:55 
GeneralDisable Auto Ansi to OEM Pin
Its due when13-Oct-04 18:26
Its due when13-Oct-04 18:26 
Generalsearch for a specific string in a stored procedure Pin
its_skar13-Oct-04 11:29
its_skar13-Oct-04 11:29 
GeneralRe: search for a specific string in a stored procedure Pin
Christian Graus14-Oct-04 10:04
protectorChristian Graus14-Oct-04 10:04 
GeneralRe: search for a specific string in a stored procedure Pin
its_skar14-Oct-04 13:43
its_skar14-Oct-04 13:43 
GeneralRe: search for a specific string in a stored procedure Pin
Grimolfr15-Oct-04 7:29
Grimolfr15-Oct-04 7:29 
GeneralRe: search for a specific string in a stored procedure Pin
Christian Graus17-Oct-04 9:46
protectorChristian Graus17-Oct-04 9:46 
its_skar wrote:
the thing is that there are 120 stored procedures in the database and I need to know which stored procedure's BODY contains the string 'MESSAGE', etc. some stored procedures are almost 4 pages long.

Sure - so you need to use the code I provided to build a table that has a list of stored procedure names. Then you need to use that tempory table to step through the stored procedures, IN CODE, retrieving the text of the stored procedures, WHERE the text is LIKE %Message%.

its_skar wrote:
I am not searching for the stored procedure named %Message%. but searching for a stored procedure whose body contains the string.

That's why I gave you the name of the stored procedure that returns all the text of the procedure. You also need to get the names, otherwise, how will you know where to get the text from ?

its_skar wrote:
can you please give me a code sample ?

If I find the time tonight, I'll see what I can put together for you.


Christian

I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
GeneralDisable ODBC default settings Pin
Its due when12-Oct-04 20:30
Its due when12-Oct-04 20:30 
GeneralRe: Disable ODBC default settings Pin
Mike Dimmick13-Oct-04 12:38
Mike Dimmick13-Oct-04 12:38 
Generalregd MSSQL database connection Pin
Anonymous12-Oct-04 18:55
Anonymous12-Oct-04 18:55 
GeneralRe: regd MSSQL database connection Pin
Colin Angus Mackay12-Oct-04 23:54
Colin Angus Mackay12-Oct-04 23:54 
QuestionHelp! Using a Palm III as a network conn.? Pin
...---...12-Oct-04 6:06
...---...12-Oct-04 6:06 
AnswerRe: Help! Using a Palm III as a network conn.? Pin
Christian Graus14-Oct-04 10:11
protectorChristian Graus14-Oct-04 10:11 
GeneralAddNew(); Pin
Stgt12-Oct-04 4:11
Stgt12-Oct-04 4:11 
GeneralRe: AddNew(); Pin
Stgt13-Oct-04 22:48
Stgt13-Oct-04 22:48 
GeneralRe: AddNew(); Pin
Anonymous13-Oct-04 22:49
Anonymous13-Oct-04 22:49 
GeneralConnection Object Pin
EdbertP11-Oct-04 20:29
EdbertP11-Oct-04 20:29 
GeneralRe: Connection Object Pin
Colin Angus Mackay11-Oct-04 22:55
Colin Angus Mackay11-Oct-04 22:55 
GeneralRe: Connection Object Pin
EdbertP12-Oct-04 14:20
EdbertP12-Oct-04 14:20 
GeneralRe: Connection Object Pin
Colin Angus Mackay12-Oct-04 21:16
Colin Angus Mackay12-Oct-04 21:16 
GeneralRe: Connection Object Pin
EdbertP13-Oct-04 17:17
EdbertP13-Oct-04 17:17 
GeneralUnicode to Big-5 conversion (Any ideas?) Pin
Its due when11-Oct-04 20:06
Its due when11-Oct-04 20:06 
Generalexcel and oledbexception Pin
its_skar11-Oct-04 15:34
its_skar11-Oct-04 15:34 
QuestionUnforseen problem? Pin
Jerry Hammond11-Oct-04 5:50
Jerry Hammond11-Oct-04 5:50 

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.