Câu hỏi phỏng vấn Sql server tiếng anh

10 691 0
Câu hỏi phỏng vấn Sql server tiếng anh

Đang tải... (xem toàn văn)

Thông tin tài liệu

SQL Server interview questions Explain the use of keyword WITH ENCRYPTION. Create a Store Procedure with Encryption. It is a way to convert the original text of the stored procedure into encrypted form. The stored procedure gets obfuscated and the output of this is not visible to CREATE PROCEDURE Abc WITH ENCRYPTION AS > GO What is a linked server in SQL Server? It enables SQL server to address diverse data sources like OLE DB similarly. It allows Remote server access and has the ability to issue distributed queries, updates, commands and transactions. Features and concepts of Analysis Services Analysis Services is a middle tier server for analytical processing, OLAP, and Data mining. It manages multidimensional cubes of data and provides access to heaps of information including aggregation of data One can create data mining models from data sources and use it for Business Intelligence also including reporting features. Some of the key features are: • Ease of use with a lot of wizards and designers. • Flexible data model creation and management • Scalable architecture to handle OLAP • Provides integration of administration tools, data sources, security, caching, and reporting etc. • Provides extensive support for custom applications What is Analysis service repository? Every Analysis server has a repository to store metadata for the objects like cubes, data sources etc. It’s by default stored in a MS Access database which can be also migrated to a SQL Server database. What is SQL service broker? Service Broker allows internal and external processes to send and receive guaranteed, asynchronous messaging. Messages can also be sent to remote servers hosting databases as well. The concept of queues is used by the broker to put a message in a queue and continue with other applications asynchronously. This enables client applications to process messages at their leisure without blocking the broker. Service Broker uses the concepts of message ordering, coordination, multithreading and receiver management to solve some major message queuing problems. It allows for loosely coupled services, for database applications. What is user defined datatypes and when you should go for them? User defined data types are based on system data types. They should be used when multiple tables need to store the same type of data in a column and you need to ensure that all these columns are exactly the same including length, and nullability. Parameters for user defined datatype: Name System data type on which user defined data type is based upon. Nullability. For example, a userdefined data type called post_code could be created based on char system data type. What is bit datatype? A bit datatype is an integer data type which can store either a 0 or 1 or null value. Describe the XML support SQL server extends. SQL Server (serverside) supports 3 major elements: a. Creation of XML fragments: This is done from the relational data using FOR XML to the select query. b. Ability to shred xml data to be stored in the database. c. Finally, storing the xml data. Clientside XML support in SQL Server is in the form of SQLXML. It can be described in terms of • XML Views: providing bidirectional mapping between XML schemas and relational tables. • Creation of XML Templates: allows creation of dynamic sections in XML. What is SQL Server English Query?

SQL Server interview quesons Explain the use of keyword WITH ENCRYPTION. Create a Store Procedure with Encrypon.    !" #$%& % ' ((')** + What is a linked server in SQL Server? ',)- )!. /001 Features and concepts of Analysis Services '110 )0! 111  . 1 '-2 • 3 • 41 • ' ) • 1100001 • 1 What is Analysis service repository? 5-06 7'',)' What is SQL service broker? '.-0 71 /-/11 1- -'.-0101 5/0 1 What is user de+ned datatypes and when you should go for them? "81  0 82 % '8 % 4098post_codechar   What is bit datatype? :; Describe the XML support SQL server extends. ',)'<9=>52  1?7)214 ?7) /    40 9?7)',)'',)?7) • XML Views:1?7)1 • Creaon of XML Templates:11?7) What is SQL Server English Query? /1,1' 1- ',) What is the purpose of SQL Pro+ler in SQL server? ',)8 /.0181/ 1 What is XPath? ??7) 1?7) @ What are the Authencaon Modes in SQL Server?  #117 <#11=26#  77<#11',)'11=2 ',) Explain Data De+nion Language, Data Control Language and Data Manipulaon Language. !!81)<!!)=29',)8 2    )  !   "%   77%  %7 !71)<!7)=29 2  ')9  %'9  "!91  !)  7+  ))  ?)%)%  ) A.) !)<!)=29-31 2  +%  B A What are the steps to process a single SELECT statement? '  -  /-   ,13-118  1  1 Explain GO Command. +1',)C+ What is the signi+cance of NULL value and why should we avoid permi7ng null values? %")) -8D3EE F/- -%")) What is the di8erence between UNION and UNION ALL? "% %1"% %))51 UNION2')G4 7G; "% % ')G4 7GH UNION All2')G4 7G; "% %)) ')G4 7GH What is use of DBCC Commands? !.<!-=!',)'- 2 727-!080!.)%.)0 !.%!?!4+0!.!.%!?0!.'$%A!.'0!.! )%."44'0!. '$%A4)0!.4 $0!."!"'+ 72-0!. 0!.$)0!.4''' %$0!. 440!.4'&'7$0!.  % 12-1!. %"."440!.'$ # %+0!. %%0!.',)40!. ""."440!. '"'0!. $0!."'  %'0!.'$ #G''' B12 11!00!.$A)) 0 !.$A4)+ "0!.$A) +0!.$A!%0!.$A %'%'0!. $A.)0!.$A!. What is Log Shipping? )81--18 ',)'I--',)' 10 I-)>12 .-11 I- I- What is the di8erence between a Local and a Global temporary table? ',)'H2 Local Global !1 1  1 1 716 1 What is the STUFF and how does it di8er from the REPLACE funcon? .'"44) <JJ0JJ0JJ= <JJ0JJ0JJ= #8KL) D<JJ0M0>0JJ= M> What are the rules to use the ROWGUIDCOL property to de+ne a globally unique iden+er column? @ #+"! )  N #+"! What is the acons prevented once referenal integrity is enforced? 12 • .-11 • 6 • 66-8  • 6 • 66- What are the commands available for Summarizing Data in SQL Server? 3',)'2  !1 'I '"7 ' ')'"7<'= ;O B+  ')B+<'=G' ;O  "%   ') "%<P=;O 7?   ')7?<'=;O 7%   ')7%<'=;O + ".&  SELECT ZIP,City FROM Emp GROUP BY ZIP !.& ' SELECT ZIP,City FROM Emp ORDER BY City List out the di8erence between CUBE operator and ROLLUP operator !D". ))"2 ".  ))" 61+ ".& 11  6+ ".&6 1131  11 1 8+ ".&+  1 What are the guidelines to use bulk copy ulity of SQL Server? .-1',)'I .-Q1 • %%'111 • %')1 • %')05 E2RES9 %'9@8 What are the capabilies of Cursors? 12 •  • 8 • 18 • 3T • -<=1 What are the ways to controlling Cursor Behavior? H2 • 2!O010-9  • 2A' ))%'%'B1 81 What are the advantages of using Stored Procedures? 2 •  • '@ • "+"I/ • 1$! 8/ • $- • 1 •  What are the ways to code e;cient transacons? 'Q12 • !-1 • +111 • 1 • 1 • -191 • 1-  • 1 What are the di8erences among batches, stored procedures, and triggers? Batch Stored Procedure Triggers 1',)   11    61',) 6 1 6'  8 00 What security features are available for stored procedures? '2 • +1 • +-  • 'U  •   What are the instances when triggers are appropriate? '2 • 1 •  • 1 • 1 • 1 • ',)I11 What are the restricons applicable while creang views? 112 •  •  • 09 • %'G%"))'," !G!%41 •  • 81'$7.%!%+1 •  #'0"% %0 0 !.&0!'%0 "%<P=0 7"0 7".&  What are the events recorded in a transacon log? 12 • .-'.- • 1 • )8%)5 • !8- • # ',)' • 400  • )--/00 • 550 •  )!. )!. • !7) •  1 • '1I • '11 • ' • '11',)' • '1' • 11 • ',)1',) • "88 Describe when checkpoints are created in a transacon log. 11-2 • #- • 1 • !8! • ',)' • ',)'- • .-- De+ne Truncate and Delete commands. TRUNCATE DELETE 1 1 1 "%-  1! 11  !1' C  " #$ - %- !!) !7) For more questions with answers, follow the link below: http://www.careerride.com/SQLServer-Interview-Questions.aspx We do not warrant the correctness of content. The risk from using it lies entirely with the user. While using this document, you agree to have read and accepted the terms of use and privacy policy. . !" #$%& % ' ((')** + What is a linked server in SQL Server? ',)- )!. /001 Features. Query? /1,1' 1- ',) What is the purpose of SQL Pro+ler in SQL server? ',)8 /.0181/ 1 What. datatype? :; Describe the XML support SQL server extends. ',)'<9=>52  1?7)214

Ngày đăng: 17/06/2014, 13:26

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan