Click here to Skip to main content
15,898,134 members
Home / Discussions / Database
   

Database

 
GeneralRe: DataGridView Access Problem Pin
Grollub9-Oct-09 4:05
Grollub9-Oct-09 4:05 
GeneralRe: DataGridView Access Problem Pin
Mycroft Holmes9-Oct-09 11:45
professionalMycroft Holmes9-Oct-09 11:45 
Questionstandard SqlServer 2008 Pin
ali_reza_zareian8-Oct-09 8:43
ali_reza_zareian8-Oct-09 8:43 
AnswerRe: standard SqlServer 2008 Pin
Mycroft Holmes8-Oct-09 20:03
professionalMycroft Holmes8-Oct-09 20:03 
AnswerRe: standard SqlServer 2008 Pin
εїзεїзεїз10-Oct-09 1:01
εїзεїзεїз10-Oct-09 1:01 
QuestionProblem in Query Pin
nagendrathecoder7-Oct-09 21:30
nagendrathecoder7-Oct-09 21:30 
AnswerRe: Problem in Query Pin
εїзεїзεїз7-Oct-09 21:58
εїзεїзεїз7-Oct-09 21:58 
AnswerRe: Problem in Query Pin
Mycroft Holmes7-Oct-09 22:26
professionalMycroft Holmes7-Oct-09 22:26 
There are a number of methods to achieve a semblance of this, UDF is one, in the above simplistic sample on you could create a view that calcs the amount column, you could create a table variable to hold the equivalent of the view, this would only be valid for the current proc whereas a view persists to the database.

I am in the habit of creating a view for my transaction tables, creating any calculated columns (amount) and joining to the foreign key tables (an example would be an OrderLine to Product table on the ProductID to get the product name in the view).



GeneralRe: Problem in Query Pin
εїзεїзεїз7-Oct-09 23:03
εїзεїзεїз7-Oct-09 23:03 
GeneralRe: Problem in Query Pin
Ashfield8-Oct-09 1:23
Ashfield8-Oct-09 1:23 
QuestionSql Server Access Pin
anishkannan7-Oct-09 19:17
anishkannan7-Oct-09 19:17 
AnswerRe: Sql Server Access Pin
εїзεїзεїз7-Oct-09 22:04
εїзεїзεїз7-Oct-09 22:04 
AnswerRe: Sql Server Access Pin
Mycroft Holmes7-Oct-09 22:30
professionalMycroft Holmes7-Oct-09 22:30 
QuestionHow to write IF Condition in Stored Procedure Pin
Abhishek Boga7-Oct-09 14:06
Abhishek Boga7-Oct-09 14:06 
AnswerRe: How to write IF Condition in Stored Procedure Pin
Not Active7-Oct-09 14:17
mentorNot Active7-Oct-09 14:17 
AnswerRe: How to write IF Condition in Stored Procedure Pin
Not Active7-Oct-09 14:20
mentorNot Active7-Oct-09 14:20 
AnswerRe: How to write IF Condition in Stored Procedure Pin
J4amieC7-Oct-09 23:07
J4amieC7-Oct-09 23:07 
Question'Best practices' for managing data base connections Pin
Gary Wheeler7-Oct-09 8:29
Gary Wheeler7-Oct-09 8:29 
AnswerRe: 'Best practices' for managing data base connections [modified] Pin
Luc Pattyn7-Oct-09 8:37
sitebuilderLuc Pattyn7-Oct-09 8:37 
GeneralRe: 'Best practices' for managing data base connections Pin
Gary Wheeler7-Oct-09 8:44
Gary Wheeler7-Oct-09 8:44 
GeneralRe: 'Best practices' for managing data base connections Pin
Luc Pattyn7-Oct-09 8:49
sitebuilderLuc Pattyn7-Oct-09 8:49 
AnswerRe: 'Best practices' for managing data base connections Pin
εїзεїзεїз7-Oct-09 10:57
εїзεїзεїз7-Oct-09 10:57 
AnswerRe: 'Best practices' for managing data base connections Pin
David Skelly7-Oct-09 22:52
David Skelly7-Oct-09 22:52 
GeneralRe: 'Best practices' for managing data base connections Pin
Gary Wheeler8-Oct-09 0:33
Gary Wheeler8-Oct-09 0:33 
AnswerRe: 'Best practices' for managing data base connections Pin
PIEBALDconsult12-Oct-09 6:44
mvePIEBALDconsult12-Oct-09 6:44 

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.