Be Stronger Then You Excuses

Happiness is the best medicine.

SQL PRIMARY KEY

In SQL, a primary key is a unique identifier that is used to identify each row of data in a table. It is a column or a set of columns that has a unique value for each row in the table, and is used to enforce data integrity and ensure that there are no any duplicate records in the table. If you want to generate a primary key, you should include a PRIMARY KEY constraint when you create or change a table. A primary key can be created in SQL when a...

MS-SQL query and ShortcutKey

1:- Change Database Name using QueryAlter database Test modify name=Test1you can also use system stored proceduresp_renameDB 'Test1','Test'2:- How to get all table name from database First select database and run below query.SELECT name FROM sys.tables3:- How to Get All stored procedures in database.SELECT   ROUTINE_SCHEMA, ROUTINE_NAMEFROM INFORMATION_SCHEMA.ROUTINESWHERE...

Transact-SQL Functions

 Transact-SQL (T-SQL) functions are subprograms that encapsulate a sequence of T-SQL statements. T-SQL functions can return a single scalar value, a single row, or multiple rows. There are two types of T-SQL functions: ·        Scalar functions: return a single scalar value, such as an integer, a string, or a date/time value. ·        Table-valued functions:...

Define all SQL COMPONENTS

 SQL COMPONENTS In This Chapter SQL’s Basic Objects • Data Types • Transact-SQL Functions • Scalar Operators • NULL Values   The Transact-SQL language's foundational objects and operations are introduced in this chapter. First, descriptions are given of the fundamental language components, such as constants, identifiers, and delimiters. Then, data types are...

FRONT-END TOOLS FOR THE DATABASE ENGINE

 SQL Server Management Studio (SSMS) and Azure Data Studio are two front-end tools for the Database Engine that are introduced in this chapter. The two SSMS components, Registered Servers and Object Explorer, as well as the numerous SSMS user interface panes, are first covered in this chapter. The SSMS operations connected to the Database Engine are then covered. Also...

History Of SQL Server

 One of the best database management systems in the world is Microsoft SQL Server. It's widely utilised and continually getting better. But do you understand how it was made? I'll outline the development of MS SQL Server, a product that revolutionised the database industry, in this essay. The steps of MS SQL Server development will be discussed, along with how the current...

Basic SQL question and answer quiz

Today let see in this post, the Basic SQL Server Question and Answer Quiz. if you like this please comment me i will upload more quiz for you.  LoadingR...