SQL SERVER PERFORMANCE TUNING INTERVIEW QUESTIONS AND ANSWERS
Part-6
• nonclustered index in ...
---Script of this video
IF EXISTS (SELECT *FROM SYS.TABLES WHERE NAME ='CRICKETPLAYERS')
BEGIN
DROP TABLE CRICKETPLAYERS
END
CREATE TABLE CRICKETPLAYERS
(
NAMES CHAR(500),
TEAM CHAR(500)
)
INSERT INTO CRICKETPLAYERS VALUES ('VIRAT KOHLI','INDIA')
SELECT * FROM CRICKETPLAYERS
DBCC IND('PERFORMANCE_TUNING','CRICKETPLAYERS',-1)
INSERT INTO CRICKETPLAYERS VALUES ('MS DHONI','INDIA')
INSERT INTO CRICKETPLAYERS VALUES ('YUVRAJ SINGH','INDIA')
INSERT INTO CRICKETPLAYERS VALUES ('GLENN MAXWELL','AUSTRALIA')
INSERT INTO CRICKETPLAYERS VALUES ('JAMES MICHAEL ANDERSON','ENGLAND')
INSERT INTO CRICKETPLAYERS VALUES ('ALASTAIR NATHAN COOK','ENGLAND')
INSERT INTO CRICKETPLAYERS VALUES ('ANDRE RUSSELL','WEST INDIES')
INSERT INTO CRICKETPLAYERS VALUES ('CHRIS GAYLE','WEST INDIES')
INSERT INTO CRICKETPLAYERS VALUES ('FAF DU PLESSIS','SOUTH AFRICAN')
DBCC IND('PERFORMANCE_TUNING','CRICKETPLAYERS',-1)
DBCC TRACEON(3604)
DBCC PAGE ('PERFORMANCE_TUNING',1,2489,3)
Find Us On RU-vid- "Subscribe Channel to watch Database related videos" / @ssunitech6890
For Quiz-
• sql server : Interview...
Find Us On FaceBook-
/ ss-unitech-18770538867...
2 окт 2024