Best method to work with SQL Server [closed] - sql-server

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am new to sql server, Which method is best to work with sql server COMMAND LINE OR GUI.

What do you mean "work with"?
I would say that that Microsoft SQL Management Studio, should be more than sufficient for anything you want to do. Using this should almost make any task relatively simpler than using CLI.

For regular usage, I use the GUI interface. It has access to everything I need to do within one or two clicks. For automation tasks, or to interact with the service when the GUI is hanging, I use the command line.

Related

If using docker, is the capacity of database in SQL Server unlimited? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am trying to install and use SQL Server on docker.
As far as I know, 10GB is available for free on Express.
Is it the same for Docker?
If so, can I use unlimited capacity if I select MSSQL_PID as 'standard' in the environment variable?
In short the answer to your question is yes, what ever version you mention in the PID variable the sql server will operate like that. The only thing about licensing is that it believe on you that you have proper prior licensing for that version though it doesn't have any technical check or verification process.
Following link will give you some more related information that may help you further -
https://github.com/Microsoft/mssql-docker/issues/200

How user can use database without having DBMS [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm new to the topic of databases and DBMS.
I have written the PhoneBook program with C# .NET and SQL Server.
My question is how can I run this program on a users computer who hasn't got SQL Server?
I want when they click on the execution file on their computer, it will work immediately and correctly and they can store new users or delete some user
You could host a SQL server for your users and require they have an internet connection.
You could rewrite it as a web application, also requiring an internet connection.
Or you can use SQLite, an embedded SQL client and, for lack of a better term, server. That's what I'd recommend, and that's what many applications do. SQLite is not fully compatible with SQL Server, so you'd have to rewrite some of your SQL.

How to View entries in a SQL Server 2012 database [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
As you can tell I am quite new at this, but is it possible to view entries in a database?
I have tried looking in SQL Server 2012 Management Studio, but I was lost!
Sorry to sound a bit dumb
J.J.I Mahone
Yes it is. In SQL Server 2012 Management Studio you can right click on a table and select 'select rows'. By this you can see the entries of each table of the database.
Here is the image.

Create LOG files when creating multiple DATA files for tempdb? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I've a question that I can't seem to find an answer to (and I can't test it out for a few weeks so I'm doing research now during my downtime).
Should I be creating corresponding LOG files for every DATA file I create?
eg. if I create tempdev3.mdf, should I also create templog3.ldf?
Or do the LOG files get created automatically as and when needed by the SQL Server?
I'm using MS SQL 2008 R2 EE but I think the answer equally applies to 2005 and 2012.
You can have multiple log files, but there is no point, SQL Server will only write to them one at a time sequentially, so there is no performance gain here at all.
All you do with having multiple log files is create more files to manage and potentially more downtime after a crash as there is possibly more log file than strictly necessary to initialise.
Have a quick look at the following article for a bit more info:
Multiple log files and why they’re bad
Bottom line, don't bother with it.

Is this normal behavior when connecting to remote database that is located on shared hosting? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
So I have a shared hosting for ASP.NET MVC3 and I just created a new database on Plesk.
Next I wanted to connect to database remotely using Sql Manager and I entered server name, username and password.
Everything fine so far but after I clicked on Database Name, it gave me a list of all sort of databases I never heard of.I guess those are databases of other people.
I am wondering is this normal behavior?
The permissions to hide database you don't have permissions in have side effects
So you can usually see the databases but you should have no rights at all to see any data in them, even system data. That is, there should be no login-user mapping

Resources