StoredProcedures.h
上传用户:jsxglz
上传日期:2007-01-03
资源大小:117k
文件大小:1k
源码类别:

SQL Server

开发平台:

Visual C++

  1. // CStoredProcedures- Interface file
  2. #pragma once
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CStoredProcedures - results from ::SQLProcedures()
  5. class CStoredProcedures : public CRecordsetEx
  6. {
  7. public:
  8. CStoredProcedures(CDatabase* pDatabase);
  9. DECLARE_DYNAMIC(CStoredProcedures)
  10. // Field Data
  11. CString m_strProcedureQualifier;
  12. CString m_strProcedureOwner;
  13. CString m_strProcedureName;
  14. CString m_strRemarks;
  15. int m_fProcedureType;
  16. // Operations
  17. BOOL Open(LPCSTR pszProcQualifier = NULL,
  18.  LPCSTR pszProcOwner = NULL,
  19.  LPCSTR pszProcName = NULL,
  20.  UINT nOpenType = CRecordset::forwardOnly);
  21. // Overrides
  22. virtual CString GetDefaultConnect();
  23. virtual CString GetDefaultSQL();
  24. virtual void DoFieldExchange(CFieldExchange*);
  25. // Implementation
  26. #ifdef _DEBUG
  27. virtual void AssertValid() const;
  28. virtual void Dump(CDumpContext& dc) const;
  29. #endif
  30. };