Home > database >  How to use the SQL inquire of vs 2017.
How to use the SQL inquire of vs 2017.

Time:09-19

Newcomer intend using database to store data in c + +, see VS 2017 attached SQL server, just like the two kinds of ways to use, but not all,
A:
To build a

Then use the code base

To connect to

But there will be such mistake

Then I don't know how to deal with the
2:
Write directly in the above

But can't use,

A great god guidance for beginners, read too many books, but really want to practice, practice,

CodePudding user response:

Install a SQL Server2016 honestly:
Installed in the Windows Server2016 SQL Server2016

Install SQL Server hardware and software requirements

CodePudding user response:

quote you the beauty of the plait 1 floor response:
honestly to install a SQL Server2016:
Installed in the Windows Server2016 SQL Server2016

Install SQL Server hardware and software requirements

I should be installed, but because of not familiar, so don't know how to do

CodePudding user response:

What this have no function of the database server, I just let you develop the database, such as writing stored procedures, views, built form, etc., equivalent to the client, you must first connect to a database server

CodePudding user response:

Your first query in the SQL Server:
 SELECT @ @ SERVERNAME 


Copies the results in the past,

CodePudding user response:

If doesn't work, copy the following another results in the past and see:
 SELECT @ @ SERVERNAME AS r1, SERVERPROPERTY (' SERVERNAME) AS r2 

CodePudding user response:

Install a real database

CodePudding user response:

Add a new item, select the data, and then choose based on the database service, can use in the database server,

CodePudding user response:

Vs 2017 provided by SQL Server LocalDB belongs to lightweight library, details operation: https://docs.microsoft.com/zh-cn/aspnet/core/tutorials/first-mvc-app/working-with-sql? View=aspnetcore - 2.1
For reference only

CodePudding user response:

Do you want to in c + + database to build a c + + project/project operation,

The SQL Server program is used to make database solutions, such as the use of c # in a stored procedure, and then integrated to Server call

CodePudding user response:

Why not choose additional database

CodePudding user response:

This thing with same operating the table

CodePudding user response:

Create a web project first, and then add an asp.net folder, there are APP_Data, can create a SQL, according to the specification and then is is indexing the library files,
Reference articles about this: https://blog.csdn.net/gengyuntuo/article/details/51679902

CodePudding user response:

Vs environment, but there is a essentially a data link engine, did not have the database environment,
When computers are used to, this engine can dock with the used on natural, direct access to the database content,

CodePudding user response:

My god, grave post still dig ah...
  • Related