Difference between revisions of "Sample Queries"

From SDU
Jump to: navigation, search
(SQL Query for Request Area)
Line 5: Line 5:
 
''To obtain the most current listing, from the SQL Query Analyzer run the following query on the MDB.''  
 
''To obtain the most current listing, from the SQL Query Analyzer run the following query on the MDB.''  
  
'''SELECT    prob_ctg.persid, prob_ctg.sym, prob_ctg.description
+
'''SELECT    prob_ctg.persid, prob_ctg.sym, prob_ctg.description FROM [dbo].[prob_ctg] WHERE (prob_ctg.del = 0)'''
FROM         [dbo].[prob_ctg]
+
WHERE     (prob_ctg.del = 0)'''
+
  
 
''This query will return a list of persistent ID's, Symbols (Request Areas) and Descriptions from SQL. Only ACTIVE Request Areas will be displayed by this query.''
 
''This query will return a list of persistent ID's, Symbols (Request Areas) and Descriptions from SQL. Only ACTIVE Request Areas will be displayed by this query.''

Revision as of 14:37, 3 April 2008

SQL Query for Request Area

To obtain the most current listing, from the SQL Query Analyzer run the following query on the MDB.

SELECT prob_ctg.persid, prob_ctg.sym, prob_ctg.description FROM [dbo].[prob_ctg] WHERE (prob_ctg.del = 0)

This query will return a list of persistent ID's, Symbols (Request Areas) and Descriptions from SQL. Only ACTIVE Request Areas will be displayed by this query.