Click here to Skip to main content
15,895,667 members
Home / Discussions / Database
   

Database

 
QuestionWhat does dock or link tables into Access mean? Pin
Marcus J. Smith26-Feb-07 7:59
professionalMarcus J. Smith26-Feb-07 7:59 
Questionlooking up date in sql server Pin
tvfoto26-Feb-07 6:31
tvfoto26-Feb-07 6:31 
AnswerRe: repost Pin
tvfoto26-Feb-07 6:34
tvfoto26-Feb-07 6:34 
AnswerRe: looking up date in sql server Pin
andyharman26-Feb-07 23:47
professionalandyharman26-Feb-07 23:47 
GeneralRe: looking up date in sql server Pin
tvfoto27-Feb-07 6:12
tvfoto27-Feb-07 6:12 
GeneralRe: looking up date in sql server Pin
tvfoto27-Feb-07 6:17
tvfoto27-Feb-07 6:17 
Questionretrieving View's SQL statement [modified] Pin
hamidreza_buddy25-Feb-07 23:36
hamidreza_buddy25-Feb-07 23:36 
AnswerRe: retrieving View's SQL statement Pin
Mark J. Miller26-Feb-07 5:14
Mark J. Miller26-Feb-07 5:14 
I used profiler to create a trace of all the queries from SSMS to the database and came up with this:

<br />
SELECT ISNULL(smv.definition, ssmv.definition) AS [Definition]<br />
FROM sys.all_views AS v<br />
LEFT OUTER JOIN sys.sql_modules AS smv ON smv.object_id = v.object_id<br />
LEFT OUTER JOIN sys.system_sql_modules AS ssmv ON ssmv.object_id = v.object_id<br />
WHERE (v.type = 'V')and(v.name=N'{my_view_name}' and SCHEMA_NAME(v.schema_id)=N'dbo')<br />


Just replace {my_view_name} with the name of the view you're interested in. Also, if the view is using a schema other than 'dbo' make sure to change that as well.
QuestionPutting related Two records to one row Pin
Praveen 12325-Feb-07 19:28
Praveen 12325-Feb-07 19:28 
AnswerRe: Putting related Two records to one row Pin
Sylvester george25-Feb-07 23:11
Sylvester george25-Feb-07 23:11 
QuestionRe: Putting related Two records to one row Pin
Praveen 12325-Feb-07 23:23
Praveen 12325-Feb-07 23:23 
AnswerRe: Putting related Two records to one row Pin
Pete O'Hanlon26-Feb-07 0:41
mvePete O'Hanlon26-Feb-07 0:41 
QuestionRe: Putting related Two records to one row Pin
Praveen 12326-Feb-07 1:01
Praveen 12326-Feb-07 1:01 
AnswerRe: Putting related Two records to one row Pin
Pete O'Hanlon26-Feb-07 1:19
mvePete O'Hanlon26-Feb-07 1:19 
QuestionRe: Putting related Two records to one row Pin
Praveen 12326-Feb-07 1:26
Praveen 12326-Feb-07 1:26 
AnswerRe: Putting related Two records to one row Pin
Pete O'Hanlon26-Feb-07 1:51
mvePete O'Hanlon26-Feb-07 1:51 
GeneralRe: Putting related Two records to one row Pin
Praveen 12326-Feb-07 17:12
Praveen 12326-Feb-07 17:12 
GeneraltimeStart timeEnd Pin
bernie_01128-Feb-07 20:59
bernie_01128-Feb-07 20:59 
AnswerRe: Putting related Two records to one row Pin
Pete O'Hanlon26-Feb-07 4:53
mvePete O'Hanlon26-Feb-07 4:53 
QuestionData Access Layer Pin
tonyalex25-Feb-07 17:49
tonyalex25-Feb-07 17:49 
AnswerRe: Data Access Layer Pin
Colin Angus Mackay25-Feb-07 21:41
Colin Angus Mackay25-Feb-07 21:41 
AnswerRe: Data Access Layer Pin
Pete O'Hanlon26-Feb-07 0:42
mvePete O'Hanlon26-Feb-07 0:42 
GeneralRe: Data Access Layer Pin
tonyalex26-Feb-07 0:58
tonyalex26-Feb-07 0:58 
GeneralRe: Data Access Layer Pin
Colin Angus Mackay26-Feb-07 5:08
Colin Angus Mackay26-Feb-07 5:08 
GeneralRe: Data Access Layer Pin
tonyalex2-Mar-07 2:49
tonyalex2-Mar-07 2:49 

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.