Open your SQL Management Studio and select Attach Database option from the menu of the connected server.
Attach Option will Pop-Up. In the Window select the .mdf file of your NorthWind databases files from the folders (Select the location at which you downloaded the MDF file for Northwind database):
C:\SQL Server 2000 Sample Databases
And Click Ok.
NorthWind Database will be attached and restored on your SQL Server. Expand the Databases node on your SQL Management Studio Server node :
You can download SQL Northwind database bak file using below link or from Github.com. On Github script for the database is present. Official Microsoft site. DOWNLOAD Northwind database BAK file Northwind is a sample database provided by Mircosoft. It contains sql views, stored procedures along with few tables related to…
To get Column names of a table in SQL server use query below query: Select COLUMN_NAME,DATA_TYPE from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME='Your_Table_Name' For example: we will consider NorthWind database for querying our SQL column names I want to select all the columns from Categories table, so the query will be: Select COLUMN_NAME,DATA_TYPE…
In this post we will integrate jQuery Datatable on ASP.NET MVC webforms. We will bind a HTML table from SQL data using jQuery. So let's begin. DOWNLOAD SOURCE CODE. I'm using Visual studio 2017 and MS SQL Server 2014 for this example. Features of jQuery Datable: It is a Plugin…
Pingback: DataView Row Count after Filtering Data in C# ASP.NET • ParallelCodes();
Pingback: SQL Server - SELECT DISTINCT Statement - SQL Studio
Pingback: SQL Server - Using GROUP BY - SQL Studio
Pingback: SQL Server – Using GROUP BY - ParallelCodes
Pingback: SQL Server – SELECT DISTINCT Statement - ParallelCodes
Pingback: C# ASP.NET DropDownList Bind To Table Source Code Example - IdealProgrammer.com
Pingback: C# ASP.NET Sql Command Select Statement Source Code Example - IdealProgrammer.com
Pingback: C# ASP.NET Sql Command Insert Statement Source Code Example - IdealProgrammer.com
Pingback: C# ASP.NET Sql Command Update Statement Source Code Example - IdealProgrammer.com
Pingback: C# ASP.NET Table SqlDataReader Example – SqlDataReader Table Example C# ASP.NET - IdealProgrammer.com
Pingback: C#: SqlConnection Connection String - IdealProgrammer.com
Pingback: C# – Sql Parameters – Insert Statement - IdealProgrammer.com