Click here to Skip to main content
15,892,517 members
Home / Discussions / Database
   

Database

 
AnswerRe: Grant permissions to role on another role Pin
coded00729-Dec-11 15:23
professionalcoded00729-Dec-11 15:23 
QuestionHow Can We Avoid Creatng Closed Pathes in our Design Pin
yousefshokati29-Dec-11 1:15
yousefshokati29-Dec-11 1:15 
AnswerRe: How Can We Avoid Creatng Closed Pathes in our Design Pin
Chris Meech29-Dec-11 7:04
Chris Meech29-Dec-11 7:04 
AnswerRe: How Can We Avoid Creatng Closed Pathes in our Design Pin
SilimSayo29-Dec-11 8:43
SilimSayo29-Dec-11 8:43 
AnswerRe: How Can We Avoid Creatng Closed Pathes in our Design Pin
Eddy Vluggen29-Dec-11 8:54
professionalEddy Vluggen29-Dec-11 8:54 
GeneralRe: How Can We Avoid Creatng Closed Pathes in our Design Pin
yousefshokati30-Dec-11 22:56
yousefshokati30-Dec-11 22:56 
AnswerRe: How Can We Avoid Creatng Closed Pathes in our Design Pin
Eddy Vluggen31-Dec-11 4:31
professionalEddy Vluggen31-Dec-11 4:31 
QuestionSending Column Name From SP to C# App Pin
AmbiguousName28-Dec-11 1:04
AmbiguousName28-Dec-11 1:04 
hello guys... I have this stored proc which gets some values from table but in addition, it calculates some values like %age of result. The question is: how can I send this value <b>WITH</b> a column name like <i>Percantage</i>. Here is the query for stored proc but I dont know what to add

<pre lang="SQL">
CREATE PROCEDURE [dbo].[GetStudents] AS
SELECT
s.StudentId, s.FirstName,s.SurName,
( ((s.ObtMarks) / (s.TotalMarks)) * 100) --this is the value I want to send with column name

FROM Students s

GROUP BY
s.StudentId, s.FirstName,s.SurName
</pre>

-- modified 28-Dec-11 7:30am.
AnswerRe: Sending Column Name From SP to C# App Pin
hypermellow28-Dec-11 2:03
professionalhypermellow28-Dec-11 2:03 
AnswerRe: Sending Column Name From SP to C# App Pin
AmbiguousName28-Dec-11 2:18
AmbiguousName28-Dec-11 2:18 
AnswerRe: Sending Column Name From SP to C# App Pin
Karthik Harve28-Dec-11 18:44
professionalKarthik Harve28-Dec-11 18:44 
AnswerAS Pin
Luc Pattyn28-Dec-11 23:41
sitebuilderLuc Pattyn28-Dec-11 23:41 
GeneralRe: AS PinPopular
SilimSayo29-Dec-11 4:44
SilimSayo29-Dec-11 4:44 
Questionhow to loop over results of a select statement ? Pin
yousefshokati27-Dec-11 19:40
yousefshokati27-Dec-11 19:40 
AnswerRe: how to loop over results of a select statement ? Pin
gvprabu27-Dec-11 21:25
gvprabu27-Dec-11 21:25 
AnswerRe: how to loop over results of a select statement ? Pin
jschell29-Dec-11 14:39
jschell29-Dec-11 14:39 
Questionhow to loop over results of a select statement ? Pin
yousefshokati27-Dec-11 19:39
yousefshokati27-Dec-11 19:39 
AnswerRe: how to loop over results of a select statement ? Pin
Shameel27-Dec-11 19:42
professionalShameel27-Dec-11 19:42 
AnswerRe: how to loop over results of a select statement ? Pin
PIEBALDconsult28-Dec-11 2:33
mvePIEBALDconsult28-Dec-11 2:33 
QuestionMicrosoft SQL Server 2008 R2 (between) Pin
Framework .l.27-Dec-11 16:59
Framework .l.27-Dec-11 16:59 
AnswerRe: Microsoft SQL Server 2008 R2 (between) Pin
R. Giskard Reventlov27-Dec-11 17:17
R. Giskard Reventlov27-Dec-11 17:17 
QuestionRe: Microsoft SQL Server 2008 R2 (between) Pin
Framework .l.27-Dec-11 17:21
Framework .l.27-Dec-11 17:21 
AnswerRe: Microsoft SQL Server 2008 R2 (between) Pin
thatraja27-Dec-11 17:46
professionalthatraja27-Dec-11 17:46 
AnswerRe: Microsoft SQL Server 2008 R2 (between) Pin
Shameel27-Dec-11 17:59
professionalShameel27-Dec-11 17:59 
QuestionFailed to open malformed assembly 'mscorlib' with HRESULT 0x80070008. Pin
yousefshokati26-Dec-11 19:41
yousefshokati26-Dec-11 19:41 

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.