Quantcast
Channel: Find UR Codes » SQL Server
Browsing latest articles
Browse All 3 View Live

How to get last Record from a Table in SQL Server

Here ID is a integer with auto increment Value. It should be a Primary key. SELECT * FROM    TABLE WHERE   ID = (SELECT MAX(ID)  FROM TABLE)

View Article


FileGroups in MS SQL Server

Many native SQL Server 2005 options exist to help support database growth. From a planning perspective, one of the first topics that should be addressed is filegroups. A filegroup can be considered a...

View Article


SQL Query: Primary Key Constraint

The Primary key of a relational table should uniquely identify each record in the table. These Keys contains only Unique Values and cannot be Null. It Ensures only Unique Values by which we can easily...

View Article
Browsing latest articles
Browse All 3 View Live