sql-server-express

What are in SQL Server User Instances that make them impossible in non-Express Editions?

做~自己de王妃 提交于 2019-12-12 16:18:39
问题 After developing for a few years (or more), I still do not understand: What makes User Instances impossible/incompatible with Developer (or any other) edition of SQL Server? Why has developer to install more than one (i.e. developer edition) of SQL Server because user instances are available only through Express Edition? Update: @Damien_The_Unbeliever wrote in his answer, "User instances are pretty well expected to be standalone databases, only used by a single application, and meaningless

add sql server data connection in visual studio

本小妞迷上赌 提交于 2019-12-12 16:05:34
问题 I will like to connect to sql express from visual studio. when I go to Database Explorer and click on add a new data connection I don't get the option "Microsoft SQL Server" . I will like to connect to a SQL Server instance. Why does visual studio does not give me that option. I have installed sql express on this computer: edit Take a look how in this other computer I have more options: 回答1: It looks like this list is opulated based on installed DDEX (Data Designer Extensibility) providers. I

Using VBA to query a SQL Server table in Excel

血红的双手。 提交于 2019-12-12 11:17:45
问题 I'm trying to query a table in Microsoft Excel using VBA. I've written up some code to try and accomplish this task, but I keep getting an error: run-time error '1004': Saying it's a General ODBC error. I'm not sure what I need to do to get this code to run properly so I can query this table. I'm using SQL Server Express, the server I'm connecting to: .\SQLEXPRESS Database: Databaselink Querying the products table VBA Code: Sub ParameterQueryExample() '---creates a ListObject-QueryTable on

Linked Server In SQL Server Express

a 夏天 提交于 2019-12-12 08:38:51
问题 I am developing an app where i have a local database in SQL Server Express. During work in local database, we need to execute a query on another SQL Server / live server and its return a value and with this value we execute a query in local server. It is OK when executing this query against 2 or 3 queries, but i have around 5000 records on which I need to execute same process. I have done with above style but its take too much time. I've found that we can run a query on multiple servers. Can

Create a table without columns

随声附和 提交于 2019-12-12 07:24:44
问题 Can I create a table without any columns in SQL Server by t-sql? 回答1: A table is a collection of columns and rows. You need at least one column. 回答2: No. What would you use it for? 来源: https://stackoverflow.com/questions/2438321/create-a-table-without-columns

At each login the program tries to configure installation parameters in the HKEY_LOCAL_MACHINE registry

痴心易碎 提交于 2019-12-12 07:07:34
问题 After a program was installed by an admin user, different users with no admin rights experience the following problem with their logins to the same computer. At the installation of the program by an admin user, a generic connection information to a SQL database is written to a key in HKEY_LOCAL_MACHINE registry once (eg. (local)\sqlexpress ). Then this information in the registry is manually modified by the admin for the relevant database connection information (eg. Remote_location\sqlexpress

Check username exists in database or not

荒凉一梦 提交于 2019-12-12 07:02:01
问题 doing this username checking in c#,it always enter if same name given,It never shows checking,plz tell why? SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;Initial Catalog=Ro;Integrated Security=True"); con.Open(); SqlCommand cmd = new SqlCommand("select Name from [Machine]", con); SqlDataReader rdr = cmd.ExecuteReader(); while(rdr.Read()) { query=rdr.GetString(0); if (query == textBox1.Text) { System.Windows.Forms.MessageBox.Show("MachineName Already exists!!!"); } else {

Windows could not start the SQL Server Express on local computer [closed]

丶灬走出姿态 提交于 2019-12-12 04:44:41
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I have an exam on SQL tomorrow and I have no idea what to do, I need help as quick as possible. here's the error I get: 回答1: Your master database is corrupt. You have to restore one from a backup, or reinstall sqlexpress. 回答2: Run this in cmd C:\Windows\System32\eventvwr.exe That will open the Event Viewer. In

SSRS Express 2012 - The specified report server URL could not be found

你。 提交于 2019-12-12 04:38:19
问题 I know several similar questions to this have been posted, but I've walked through each of the provided solutions and nothing seems to resolve this issue... I have SQL Express 2012 installed, and have created a simple report and want to deploy it to my local Report Manager website. Every time I try to deploy it from VS, I'm getting an error message that says "The specified Report Server URL "http:///Reports_SQLEXPRESS" could not be found. Verify the syntax of the URL and that the report

Getting error “The user instance login flag is not supported on this version of SQL Server.” but not using this flag

北城以北 提交于 2019-12-12 04:37:55
问题 I recently upgraded a SQL Server Express database I was using locally to SQL Server 2012 Developer. I started getting this error. A quick search pulls up tons of posts where the answer seems to be to remove User Instance=True; from your connection strings. I checked and none of my connection strings have this flag. I tried searching the entire solution for "user instance" just to make double sure and it doesn't show up anywhere. Doubly weird is that I don't get this error right away. The