List Info

Thread: Re: Web Service




Re: Web Service
user name
2007-01-30 07:04:43
Webservice used when you have functions or something you
have to use it in several websites, in this case you can
create a webserivce then you can use it in several websites

  and here is a good link 
  http://aspalliance.com/quickstart/aspplus/doc/wsbeh
avior.aspx
  

 <lamson_hutasoityahoo.com.sg> wrote:
          Dear Friends,

Does anyone know about web service in .net? would you
explain and give me sample code

Thanks in advance,
Hutasoit

[Non-text portions of this message have been removed]



         

 
---------------------------------
Want to start your own business? Learn how on Yahoo! Small
Business.

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/join

    (Yahoo! ID required)

<*> To change settings via email:
    mailto:AspNetAnyQuestionIsOk-digest@yahoogroups.com 
   
mailto:AspNetAnyQuestionIsOk-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

procedure interpreter required
user name
2007-01-30 07:13:26
Hi all,

Really struggling now.

Would someone care to give me a blow by blow account of what
this procedure 
is doing. If you could pretend you are talking to a 6 year
old it would be 
appreciated :P

SELECT
	[QuizResultId],
	[EmployeeId],
	[QuizDate],
	[QuizId],
( select count(*) from quizresultanswer qra, quizanswer qa
  where qra.quizanswerid = qa.quizanswerid
    and correct = 1
    and qra.quizresultid = qr.quizresultid ) as
AnsweredCorrect
FROM
	[dbo].[QuizResult] qr
WHERE
	[QuizResultId] = QuizResultId

Thank you,

Rachael

____________________________________________________________
_____
Advertisement: It's simple! Sell your car for just $20 at
carsales.com.au  
http://a.ninemsn.com
.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom
%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801577%2Fpi%5
F1005244%2Fai%5F838588&_t=757768878&_r=endtext_simpl
e&_m=EXT



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/join

    (Yahoo! ID required)

<*> To change settings via email:
    mailto:AspNetAnyQuestionIsOk-digest@yahoogroups.com 
   
mailto:AspNetAnyQuestionIsOk-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

Re: procedure interpreter required
user name
2007-01-30 07:27:02
Let's start with the easy part:

SELECT
        [QuizResultId],
        [EmployeeId],
        [QuizDate],
        [QuizId],
(  ) as AnsweredCorrect
FROM
        [dbo].[QuizResult] qr
WHERE
        [QuizResultId] = QuizResultId

just a normal select, pulling 4 columns and something else
from QuizResult
for the QuizResult you care about (QuizResultId).

That "something else" bit is a correlated sub
query, it's going out to grab
the count of correct answers for a particular quiz result,
that particular
quiz result happens to match qr.quizresultid that in your
main query you
specified was quizresultid.

you could look at this query individually, just substitute
quizresultid (or
the literal value) for qr.quizresultid.  basically it's
going to find all
the answers associated with that quizresultid, that were
correct (=1) and
summing them up (count *).

( select count(*) from quizresultanswer qra, quizanswer qa
  where qra.quizanswerid = qa.quizanswerid
    and correct = 1
    and qra.quizresultid = qr.quizresultid ) as
AnsweredCorrect

That help at all?
-- 
Jeff Schoolcraft
http://thequeue.net/blog/
http://blogginga
bout.net/blogs/jeff/

Quid quid latine dictum sit, altum videtur


[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/join

    (Yahoo! ID required)

<*> To change settings via email:
    mailto:AspNetAnyQuestionIsOk-digest@yahoogroups.com 
   
mailto:AspNetAnyQuestionIsOk-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )