Friday 19 February 2016

Create a field primary key to access database using c#

// Create with Single Filed

CREATE UNIQUE INDEX myNewIndex ON test (ID) WITH PRIMARY

// Create with Multiple Filed

CREATE UNIQUE INDEX myNewIndex ON test (ID,uname,ut) WITH PRIMARY





// Drop key index

Drop INDEX myNewIndex ON test

No comments:

Post a Comment

Excel Sort values in ascending order using function TEXTJOIN

 Excel ::  Text ::  1,3,5,2,9,5,11 Result :: 1,2,3,5,5,9,11 Formula ::     TEXTJOIN ( ",",1,SORT(MID(SUBSTITUTE( A1 ,","...