↧
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 ArticleFileGroups 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 ArticleSQL 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