Skip to content

Instantly share code, notes, and snippets.

@ashish2199
ashish2199 / SQL Server commands and queries.md
Last active August 11, 2026 02:56
List of Microsoft SQL Server queries and commands

To create a Table

	create table risk_clos_rank(
		id_num int IDENTITY(1,1) NOT NULL,
	    username nvarchar(100),
	    datetime_of_decision DATETIME
	);
	
	CREATE TABLE TheNameOfYourTable (
 ID INT NOT NULL IDENTITY(1,1),