Click here to Skip to main content
16,011,608 members
Home / Discussions / Database
   

Database

 
AnswerRe: Comparing strings in SQL [modified] Pin
technomanceraus12-Jul-06 18:09
technomanceraus12-Jul-06 18:09 
Questiongetting query names Pin
hamidreza_buddy12-Jul-06 7:44
hamidreza_buddy12-Jul-06 7:44 
AnswerRe: getting query names Pin
leckey12-Jul-06 7:58
leckey12-Jul-06 7:58 
GeneralRe: getting query names Pin
Eric Dahlvang12-Jul-06 8:04
Eric Dahlvang12-Jul-06 8:04 
GeneralRe: getting query names Pin
hamidreza_buddy12-Jul-06 8:07
hamidreza_buddy12-Jul-06 8:07 
AnswerRe: getting query names Pin
Eric Dahlvang12-Jul-06 8:06
Eric Dahlvang12-Jul-06 8:06 
GeneralRe: getting query names Pin
hamidreza_buddy12-Jul-06 8:10
hamidreza_buddy12-Jul-06 8:10 
AnswerRe: getting query names [modified] Pin
Scott Serl13-Jul-06 6:26
Scott Serl13-Jul-06 6:26 
If information_schema is supported:

Stored Procedure Names
SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES
Stored Procedure Definition
SELECT ROUTINE_DEFINITION FROM INFORMATION_SCHEMA.ROUTINES

View Names
SELECT VIEW_NAME FROM INFORMATION_SCHEMA.VIEWS
View Definition
SELECT VIEW_DEFINITION FROM INFORMATION_SCHEMA.VIEWS

With SQL Server (the only thing I have to test on right now) the definitions are not just the query, but the entire definition, including the 'CREATE PROC' or 'CREATE VIEW' part of the definition. Also stored procedures often have a lot of programming in them and can be quite long.

-- modified at 12:26 Thursday 13th July, 2006
QuestionUpdating a datasource through a DataGrid Pin
hamidreza_buddy12-Jul-06 7:05
hamidreza_buddy12-Jul-06 7:05 
AnswerRe: Updating a datasource through a DataGrid Pin
leckey12-Jul-06 7:25
leckey12-Jul-06 7:25 
GeneralRe: Updating a datasource through a DataGrid Pin
hamidreza_buddy12-Jul-06 7:37
hamidreza_buddy12-Jul-06 7:37 
GeneralRe: Updating a datasource through a DataGrid Pin
leckey12-Jul-06 7:47
leckey12-Jul-06 7:47 
GeneralRe: Updating a datasource through a DataGrid Pin
hamidreza_buddy12-Jul-06 8:00
hamidreza_buddy12-Jul-06 8:00 
GeneralRe: Updating a datasource through a DataGrid Pin
leckey12-Jul-06 8:15
leckey12-Jul-06 8:15 
QuestionSetting up output parameters in stored proc: Part 2 Pin
leckey12-Jul-06 5:21
leckey12-Jul-06 5:21 
AnswerRe: Setting up output parameters in stored proc: Part 2 Pin
Mike Dimmick12-Jul-06 6:53
Mike Dimmick12-Jul-06 6:53 
GeneralRe: Setting up output parameters in stored proc: Part 2 [modified] Pin
leckey12-Jul-06 7:02
leckey12-Jul-06 7:02 
QuestionThrowing an exception based on sp's returned value Pin
Brendan Vogt12-Jul-06 3:18
Brendan Vogt12-Jul-06 3:18 
AnswerRe: Throwing an exception based on sp's returned value Pin
kumarprabhakar7412-Jul-06 18:33
kumarprabhakar7412-Jul-06 18:33 
QuestionRe: Throwing an exception based on sp's returned value Pin
Brendan Vogt12-Jul-06 21:34
Brendan Vogt12-Jul-06 21:34 
QuestionHow to create Database file programmatically? Pin
MityaB12-Jul-06 1:42
MityaB12-Jul-06 1:42 
AnswerRe: How to create Database file programmatically? Pin
Reza Raad12-Jul-06 2:16
Reza Raad12-Jul-06 2:16 
GeneralRe: How to create Database file programmatically? Pin
MityaB12-Jul-06 2:40
MityaB12-Jul-06 2:40 
AnswerRe: How to create Database file programmatically? Pin
Eric Dahlvang12-Jul-06 3:12
Eric Dahlvang12-Jul-06 3:12 
QuestionIterating trough database tables (SQL) Pin
johan313112-Jul-06 0:59
johan313112-Jul-06 0:59 

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.