Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 help regarding stored procedures

Author  Topic 

born2acheive
Yak Posting Veteran

65 Posts

Posted - 2006-12-01 : 04:17:16
hi, i am new to stored procedures,i know how to write a simple stored prodedure like as follows:

CREATE PROCEDURE login_select(@username varchar(50),@password varchar(50)) as
select count(*) from login where username=@username and password =@password
GO

but i want to know more than this ie loops and some extra tough things.so please give me some efficient links to study about spc's.help me please

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2006-12-01 : 04:29:48
Look here:
[url]http://www.sqlteam.com/item.asp?ItemID=563[/url]

Also google out, there are plenty of free tutorials available out there and of course, go through the BOL!

Harsh Athalye
India.
"Nothing is Impossible"
Go to Top of Page

ditch
Master Smack Fu Yak Hacker

1466 Posts

Posted - 2006-12-01 : 04:30:44
Try not to use loops !!!

Visit this site regularly.
Read some of the peoples blogs (On this site under weblogs)

Browse through the script Library on this site.

Look at some of Madhivanan's posts - he has a standard Lern SQL post where he provides links to SQL Learning websites.


Duane.
Go to Top of Page

born2acheive
Yak Posting Veteran

65 Posts

Posted - 2006-12-01 : 04:33:27
thank you harsh_athalye and ditch.
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-12-01 : 04:37:22
>>Look at some of Madhivanan's posts - he has a standard Lern SQL post where he provides links to SQL Learning websites.



http://www.sql-tutorial.net/
http://www.firstsql.com/tutor.htm
http://www.w3schools.com/sql/default.asp


Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -