Skip to content

Instantly share code, notes, and snippets.

@ashish2199
ashish2199 / SQL Server commands and queries.md
Last active November 8, 2024 16:30
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),