dbTalk Databases Forums  

DLL -> SQLServer

comp.database.ms-sqlserver comp.database.ms-sqlserver


Discuss DLL -> SQLServer in the comp.database.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jim Johnson
 
Posts: n/a

Default DLL -> SQLServer - 03-26-2008 , 07:42 PM






Is it a good idea to create a DLL API for DB connection + DB query
calls?

I guess it's the same for creating it in VC++ static library?

so my DLL will have API in header file like

connectSQLServer(){
SQLConnection sql = new SQLConnection();
}

getProgramForTVChannel ( String Channel, Time TimePeriod ){
// do the query for DB
}

searchProgram ( String Keyword ){
// do some DB query and return result
}

.... and other DLL API function for DB query

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.