Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Modify contents of tooltip on mouse over filename Pin
AeJai31-Jul-07 3:31
AeJai31-Jul-07 3:31 
AnswerRe: Modify contents of tooltip on mouse over filename Pin
Iain Clarke, Warrior Programmer31-Jul-07 3:07
Iain Clarke, Warrior Programmer31-Jul-07 3:07 
QuestionODBC Database Function Query Pin
Programm3r31-Jul-07 0:53
Programm3r31-Jul-07 0:53 
AnswerRe: ODBC Database Function Query Pin
mandanani31-Jul-07 1:14
mandanani31-Jul-07 1:14 
GeneralRe: ODBC Database Function Query Pin
Programm3r31-Jul-07 1:32
Programm3r31-Jul-07 1:32 
GeneralRe: ODBC Database Function Query Pin
James R. Twine31-Jul-07 2:58
James R. Twine31-Jul-07 2:58 
GeneralRe: ODBC Database Function Query Pin
Programm3r31-Jul-07 3:02
Programm3r31-Jul-07 3:02 
GeneralRe: ODBC Database Function Query Pin
James R. Twine31-Jul-07 3:21
James R. Twine31-Jul-07 3:21 
   IME, that depends on how complex the SQL being executed is.  For example, the syntax for executing, dropping, and creating a stored procedure is the same on MSSQL 2000, Sybase SQL, and MySQL (I believe), but cursors use different syntax.  On every RBDMS that I have worked with, SELECT * FROM ORDERS WHERE ORDER_ID=3 works just fine.

   There are also some subtle "issues" with now an identical SQL batch works between different RBDMSes (which is a serious PITA, BTW), but that too is not specific to stored procedures, but the SQL within the stored procedure.

   A stored procedure also tends to be easier to update in the field - drop and reinstall it on the DB server, as opposed to building an installer that needs to run on each workstation or manually copying files to each workstation.  Using an SP also greatly reduces the risk of having workstations mismatched WRT the SQL that they are using, like if all but two workstations are upgraded, so the un-upgraded ones are still building/using older SQL.

   Lastly, if you have a system that never builds dynamic SQL and only uses stored procedures, you can mess around with the DB schema easier because you can change things and just update the SPs or create views for them, quickly update the database and everything continues to work.

   So maintenance costs can actually be less with SPs... Smile | :)

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

AnswerRe: ODBC Database Function Query Pin
Hamed Musavi31-Jul-07 4:32
Hamed Musavi31-Jul-07 4:32 
GeneralRe: ODBC Database Function Query Pin
Programm3r31-Jul-07 4:43
Programm3r31-Jul-07 4:43 
GeneralRe: ODBC Database Function Query [modified] Pin
Hamed Musavi31-Jul-07 5:07
Hamed Musavi31-Jul-07 5:07 
QuestionWriting to a file Pin
tom groezer31-Jul-07 0:51
tom groezer31-Jul-07 0:51 
AnswerRe: Writing to a file Pin
prasad_som31-Jul-07 0:56
prasad_som31-Jul-07 0:56 
QuestionPostthread message Pin
shakumar_2231-Jul-07 0:50
shakumar_2231-Jul-07 0:50 
AnswerRe: Postthread message Pin
prasad_som31-Jul-07 0:59
prasad_som31-Jul-07 0:59 
AnswerRe: Postthread message Pin
mandanani31-Jul-07 1:06
mandanani31-Jul-07 1:06 
GeneralRe: Postthread message Pin
mandanani31-Jul-07 1:17
mandanani31-Jul-07 1:17 
GeneralRe: Postthread message Pin
shakumar_2231-Jul-07 1:50
shakumar_2231-Jul-07 1:50 
GeneralRe: Postthread message Pin
James R. Twine31-Jul-07 3:03
James R. Twine31-Jul-07 3:03 
AnswerRe: Postthread message Pin
Iain Clarke, Warrior Programmer31-Jul-07 3:14
Iain Clarke, Warrior Programmer31-Jul-07 3:14 
Questionprivilege given to a user [modified] Pin
sheetal_0631-Jul-07 0:48
sheetal_0631-Jul-07 0:48 
AnswerRe: privilege given to a user Pin
Nelek31-Jul-07 0:58
protectorNelek31-Jul-07 0:58 
QuestionRe: privilege given to a user Pin
Nelek31-Jul-07 0:58
protectorNelek31-Jul-07 0:58 
QuestionRe: privilege given to a user Pin
David Crow31-Jul-07 2:28
David Crow31-Jul-07 2:28 
GeneralRe: privilege given to a user Pin
Programm3r31-Jul-07 1:01
Programm3r31-Jul-07 1:01 

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.