Click here to Skip to main content
15,891,828 members
Home / Discussions / Database
   

Database

 
GeneralRe: Row ID after INSERT to database Pin
Jeff Martin24-Mar-05 4:08
Jeff Martin24-Mar-05 4:08 
QuestionColin Angus Mackay ???? Pin
WDI22-Mar-05 9:11
WDI22-Mar-05 9:11 
AnswerRe: Colin Angus Mackay ???? Pin
Jeff Martin22-Mar-05 9:57
Jeff Martin22-Mar-05 9:57 
GeneralRe: Colin Angus Mackay ???? Pin
WDI22-Mar-05 10:34
WDI22-Mar-05 10:34 
QuestionColin Angus Mackay ???? Pin
WDI22-Mar-05 9:08
WDI22-Mar-05 9:08 
AnswerRe: Colin Angus Mackay ???? Pin
anonymous19823-Mar-05 9:18
anonymous19823-Mar-05 9:18 
GeneralSql stored procedure vs triggers vs functions Pin
jinnyb22-Mar-05 5:55
jinnyb22-Mar-05 5:55 
GeneralRe: Sql stored procedure vs triggers vs functions Pin
Colin Angus Mackay22-Mar-05 7:13
Colin Angus Mackay22-Mar-05 7:13 
A stored procedure (SP) is just a procedure written in SQL. It takes input parameters and can have a return value, but can also return result sets.

A user defined function (UDF) is also like a procedure but written in SQL, however a UDF is more strict. For instance it can only use deterministic functions. UDFs can be used in other queries in the place of values or tables.

A trigger is a special sort of stored procedure that is run automatically when a specific action occurs, for instance a SELECT, INSERT, UPDATE or DELETE on a table. The trigger can perform additional actions depending on what triggered it.

Does this help?


My: Blog | Photos
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More


GeneralRe: Sql stored procedure vs triggers vs functions Pin
jinnyb22-Mar-05 9:34
jinnyb22-Mar-05 9:34 
GeneralRe: Sql stored procedure vs triggers vs functions Pin
Edbert P22-Mar-05 18:53
Edbert P22-Mar-05 18:53 
GeneralADO inside win32 services goes boom Pin
Peter Mares22-Mar-05 3:08
Peter Mares22-Mar-05 3:08 
GeneralRe: ADO inside win32 services goes boom Pin
Chris Austin22-Mar-05 17:25
Chris Austin22-Mar-05 17:25 
GeneralRe: ADO inside win32 services goes boom Pin
Peter Mares22-Mar-05 19:51
Peter Mares22-Mar-05 19:51 
GeneralQuery Date Field Type In Access Pin
Tunde Ajibawo22-Mar-05 0:16
Tunde Ajibawo22-Mar-05 0:16 
GeneralRe: Query Date Field Type In Access Pin
Colin Angus Mackay22-Mar-05 7:14
Colin Angus Mackay22-Mar-05 7:14 
GeneralRe: Query Date Field Type In Access Pin
Edbert P22-Mar-05 18:55
Edbert P22-Mar-05 18:55 
GeneralRe: Query Date Field Type In Access Pin
Tunde Ajibawo22-Mar-05 22:09
Tunde Ajibawo22-Mar-05 22:09 
GeneralRe: Query Date Field Type In Access Pin
Edbert P23-Mar-05 11:07
Edbert P23-Mar-05 11:07 
GeneralPackage And Deployment Wizard Pin
Salman Sheikh21-Mar-05 22:48
Salman Sheikh21-Mar-05 22:48 
GeneralRe: Package And Deployment Wizard Pin
rwestgraham22-Mar-05 10:58
rwestgraham22-Mar-05 10:58 
Generaldataset or datareader Pin
jinnyb21-Mar-05 20:41
jinnyb21-Mar-05 20:41 
GeneralRe: dataset or datareader Pin
Colin Angus Mackay21-Mar-05 21:03
Colin Angus Mackay21-Mar-05 21:03 
QuestionWhich is faster? Pin
Yulianto.21-Mar-05 15:16
Yulianto.21-Mar-05 15:16 
AnswerRe: Which is faster? Pin
Christian Graus21-Mar-05 15:32
protectorChristian Graus21-Mar-05 15:32 
GeneralViewing stored procedures Pin
Its due when21-Mar-05 2:58
Its due when21-Mar-05 2:58 

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.