Posts

Showing posts from October, 2003
A simple piece of code This is a code to select the #row from a table. For example if you give 2 it will select the second row from the table. The procedure is create procedure SP_FETCH_ROWS(@num int) AS BEGIN select * from employee a where @num=(select count(*) from employee b where a.id >= b.id) END The table i am using employee. The structure is id int name varchar(50) age int sex char(1) The rows in my table are id name age sex ----------- -------------------------------------------------- ----------- ---- 1 shaju 25 M 2 thomas 25 M 3 anil 25 M 4 ashley 25 M Now when execute the procedure to select the third row exec SP_FETC
I am back again.. I found a nice site on data modelling , normalization . have a look at it . Increase ur skills in DB Concepts http://www.utexas.edu/its/windows/database/datamodeling/dm/design.html Cheers!!!!!!!!
A good article on The Data Tier: An Approach to Database Optimization I liked it . It gives various ways for Database optimization. Read it from the below link http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodtechnol/sql/reskit/sql2000/part10/c3361.asp Take Care Bye
Hey Guys and Gals have a look at this Yukon article at this following link http://www.extremeexperts.com/sql/articles/Yukon.aspx