Click here to Skip to main content
15,899,025 members
Home / Discussions / Database
   

Database

 
GeneralRe: Postgres 9.1 and C# app Pin
Mycroft Holmes25-Nov-11 12:30
professionalMycroft Holmes25-Nov-11 12:30 
GeneralRe: Postgres 9.1 and C# app Pin
Aleonis25-Nov-11 22:24
Aleonis25-Nov-11 22:24 
QuestionUsing database Pin
idbee2k322-Nov-11 5:22
idbee2k322-Nov-11 5:22 
AnswerRe: Using database Pin
R. Giskard Reventlov22-Nov-11 23:11
R. Giskard Reventlov22-Nov-11 23:11 
AnswerRe: Using database Pin
Simon_Whale22-Nov-11 23:49
Simon_Whale22-Nov-11 23:49 
AnswerRe: Using database Pin
Satheesh154623-Nov-11 6:08
Satheesh154623-Nov-11 6:08 
GeneralRe: Using database Pin
Peter_in_278023-Nov-11 13:10
professionalPeter_in_278023-Nov-11 13:10 
Questioncharacter found after end of sql statement Pin
chandru7021-Nov-11 23:36
chandru7021-Nov-11 23:36 
AnswerRe: character found after end of sql statement PinPopular
Jörgen Andersson21-Nov-11 23:49
professionalJörgen Andersson21-Nov-11 23:49 
GeneralRe: character found after end of sql statement Pin
chandru7022-Nov-11 16:52
chandru7022-Nov-11 16:52 
QuestionHow to add Dynamic Colunms in a report Pin
Bonginkoci21-Nov-11 23:21
Bonginkoci21-Nov-11 23:21 
AnswerRe: How to add Dynamic Colunms in a report Pin
SilimSayo22-Nov-11 6:16
SilimSayo22-Nov-11 6:16 
Questioncan a trigger have parameters Pin
yousefshokati21-Nov-11 19:42
yousefshokati21-Nov-11 19:42 
AnswerRe: can a trigger have parameters? Pin
Shameel21-Nov-11 22:51
professionalShameel21-Nov-11 22:51 
AnswerRe: can a trigger have parameters Pin
Corporal Agarn22-Nov-11 3:01
professionalCorporal Agarn22-Nov-11 3:01 
GeneralRe: can a trigger have parameters Pin
yousefshokati22-Nov-11 19:33
yousefshokati22-Nov-11 19:33 
GeneralRe: can a trigger have parameters Pin
SilimSayo23-Nov-11 10:59
SilimSayo23-Nov-11 10:59 
It is difficult to decipher what you really mean but let me take a a guess. You have a query that returns Personnel codes... I am assuming that you want to do something with personnel codes. If you are to use a trigger, then you must be peforming inserts, updates or deletes in a table. You said you're not doing DML, so triggers don't apply!

You don't describe the problem in sufficient detail but I'll make a guess. You're getting some values using a query and you want to do something based on the results returned. I think you need to do everything in a stored procedure.

Your stored procedure would have a section that queries for personnel codes.
It would also have a section that performs some action based on the personnel codes.

If you would describe the problem in sufficient detail, it would be easier to help. I would also suggest tha you avoid describing the problem in terms of the solution i.e. your problem description presupposes that triggers are the answer. Just state the problem in sufficient detail.
GeneralRe: can a trigger have parameters Pin
yousefshokati23-Nov-11 19:56
yousefshokati23-Nov-11 19:56 
GeneralRe: can a trigger have parameters Pin
Chris Meech24-Nov-11 5:05
Chris Meech24-Nov-11 5:05 
GeneralRe: can a trigger have parameters Pin
SilimSayo24-Nov-11 6:18
SilimSayo24-Nov-11 6:18 
GeneralRe: can a trigger have parameters Pin
Chris Meech24-Nov-11 6:29
Chris Meech24-Nov-11 6:29 
GeneralRe: can a trigger have parameters Pin
SilimSayo24-Nov-11 10:14
SilimSayo24-Nov-11 10:14 
AnswerRe: can a trigger have parameters Pin
vankireddy satish25-Nov-11 2:36
vankireddy satish25-Nov-11 2:36 
QuestionSQL Connection Error Pin
webpeon8020-Nov-11 13:56
webpeon8020-Nov-11 13:56 
AnswerRe: SQL Connection Error Pin
webpeon8020-Nov-11 14:53
webpeon8020-Nov-11 14:53 

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.