How to Create Database in SQL Server By using TSQL or GUI -SQL Server/ T-SQL Tutorial Part 24
How to Create Database in SQL Server By using TSQL or GUI -SQL Server/ T-SQL Tutorial
Scenario:
You are working as database developer and you have to prepare scripts for Create Database with below requirements so it can be run in QA, UAT and Production SQL Server Instances.
Database Name : TechBrothersIT
Primary File Name : TechBrothersIT
Index File Group : TechBrothersIT_Indexe
Log File Name : TechBrothersIT
and
Primary file should be on C:\PrimaryDBFiles
Index File should be on C:\IndexDBFiles
and Log file should be on C:\LogDBFiles
The Initial Size for each of the file should be 1GB and Max Size set to Unlimited and file growth should be set to 2 GB.
Solution:
You can create the database by using Graphical User interface in SSMS or you can use TSQL. Let's do this by using GUI first and then we will do the same by using TSQL.
Step 1:
Right Click on the Database Tab and then hit New Database so open Create database wizard.
Now make changes according to our requirement. 1 GB=1024 MB. Also we need to add a new File Group for Index File.
Now once you hit Ok, new database will be created.
How to Create Database by using TSQL Script:
If you don't like to create database by using GUI, you can hit Script Button and then Generate Script in new Windows.
TSQL script will be generated in new window and you can use this to create database. Also you can make changes as per your environment if paths are different.
Link for post for scripts
http://www.techbrothersit.com/2016/02/how-to-create-database-in-sql-server-by.html
Check out our website for Different SQL Server, MSBI tutorials and interview questions
such as SQL Server Reporting Services(SSRS) Tutorial
SQL Server Integration Services(SSIS) Tutorial
SQL Server DBA Tutorial
SQL Server / TSQL Tutorial ( Beginner to Advance)
http://www.techbrothersit.com/
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «How to Create Database in SQL Server By using TSQL or GUI -SQL Server/ T-SQL Tutorial Part 24», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.