SQL Server BasicsWhat is SQL Server database?What is RDBMS?What is Normalization?Why we use Denormalization?What_is_SQL?What is PL/SQL?Difference between SQL and PL/SQLDatabase TableOne to One RelationshipOne to Many RelationshipMany to Many RelationshipMany to One RelationshipString Data TypesNumber Data TypesDate Data TypesOther Data TypesCreate DatabaseDrop DatabaseCreating and Managing Users in SQL ServerCreate TableAlter TableDrop TableConstraints in SQL serverPrimary KeyForeign KeyUnique KeyCandidate KeyComposite KeyDifference between primary key and candidate keyPrimary key and foreign key relationshipSurrogate KeyCascading Referential Integrity ConstraintsSelf Referential Integrity ConstraintsInsert into statementInsert multiple recordsUpdate statementDelete statementTruncate statementDifference between Delete and TruncateAlias in SQL ServerSelect statementSelect DistinctSelect TopSelect IntoNull Functions(ISNULL(),NULLIF(),COALESCE())Sub QueryIdentity ColumnSequence objectDifference between sequence and identity columnSQL Server ClausesWHERE ClauseOrder By ClauseTop N ClauseGroup By ClauseHaving ClauseDifference between Where and HavingSQL Server OperatorsArithmetic OperatorsComparison OperatorsLogical OperatorsBitwise OperatorsAny OperatorsAll OperatorsUnion OperatorsUnion All OperatorsDifference between Union and Union AllIntersect OperatorExcept OperatorDifference between Except and IntersectJoinsInner JoinLeft JoinRight JoinFull JoinSelf JoinCross JoinViewsWhat are views?Create views using SSMSIndexed ViewsComplex ViewsCheck Option in ViewCheck Encryption in ViewSchema Binding Option in ViewRead-only ViewsUpdatable ViewsAdvantages and disadvantages of viewsCreate multiple views on one tableCan we implement index on views?Can we Perform Insert, update, delete operation on views?Stored Procedure and FunctionsWhat are Stored Procedures?Why we use stored procedures?Passing parameters to Stored procedureUser-Defined FunctionsDifference between UDF and Stored procedurePre-Defined Functions@@Indentity and Scope_IndentityNULLIF, ISNULL and COALESCE

Other Data Types in SQL Server.

In addition to string, date, and number data types, SQL Server also provides several other data types to store various types of information. Here are some commonly used data types in SQL Server:

  1. Boolean Data Types:
    • BIT: Represents a binary value of 0 or 1, indicating true or false, respectively.
  2. Binary Data Types:
    • BINARY(n): Fixed-length binary data with a length of 'n' bytes.
    • VARBINARY(n): Variable-length binary data with a maximum length of 'n' bytes.
    • IMAGE: Used to store large binary data such as images, audio, or video files.
  3. Spatial Data Types:
    • GEOMETRY: Stores geometric data, such as points, lines, or polygons in a two-dimensional plane.
    • GEOGRAPHY: Stores geographic data, such as latitude and longitude coordinates, representing locations on the Earth's surface.
  4. XML Data Type:
    • XML: Stores XML (Extensible Markup Language) data.
  5. JSON Data Type:
    • JSON: Introduced in SQL Server 2016, it stores JSON (JavaScript Object Notation) data.
  6. Unique Identifier Data Type:
    • UNIQUEIDENTIFIER: Stores a globally unique identifier (GUID) that is 16 bytes long.
  7. Row Versioning Data Type:
    • TIMESTAMP: Although named TIMESTAMP, it does not store actual time information. It is used for row versioning and is automatically updated when a row is modified.
  8. Table-valued Data Types:
    • TABLE: Allows you to define a user-defined table type that can be used as a parameter in stored procedures or functions.
  9. Cursor Data Type:
    • CURSOR: Used to declare a cursor variable for iterating over a result set.

These are some of the additional data types available in SQL Server. Each data type serves a specific purpose and allows you to store and manipulate different types of data effectively.