sql-server-express

I can't find columns of database

佐手、 提交于 2019-12-13 08:46:23
问题 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.SqlClient; namespace CSharpApp.Classes { public class RegistrationClass { SqlConnection myConnection = new SqlConnection("Data Source=MOE- PC\\SQLEXPRESS; InitialCatalog=db_University;Integrated Security=True;Pooling=False"); ConnectionClass con = new ConnectionClass(); String fullName, motherName, gender, placeOfBirth, email, phone, adress, schoolDegree, languages, highSchool, faculty,

SQL Server 2012 doesn't install silently in Advanced Installer 11.4.1

独自空忆成欢 提交于 2019-12-13 06:00:38
问题 My program needs SQL Server 2012 Express. So I added "Microsoft SQL Server 2012 Express" in feature-based as you can see here : I need to install the SQL Server Express in the background without any wizard installation so I added these parameters to my setup file : SQLEXPR_x64_ENU.exe /qs /ACTION=Install /FEATURES=SQLENGINE /INSTANCENAME=SQLEXPRESS /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /SQLSYSADMINACCOUNTS="Builtin\Administrators" /AGTSVCACCOUNT="NT AUTHORITY\Network Service" I added these

How do you configure a ColdFusion 8 datasource to connect to a local SQL Server 2008 server?

十年热恋 提交于 2019-12-13 04:57:59
问题 I've set up a local SQL 2008 Server, enabled SQL Authentication, created a user for ColdFusion to use and verified that I can connect with that username and password using SSMS. (Connect using MACHINENAME\SQLEXPRESS) However, I am unable to successfuly add the datasource in my CF Administrator, with the error being: Error establishing socket to host and port Is there additional configuration of the server or ColdFusion that is necessary to connect? 回答1: You should be able to just use

Need help combining columns from 2 tables and keep remaining data in rows based on parameters in sql

血红的双手。 提交于 2019-12-13 03:42:22
问题 I am needing some help with this! I have been steered toward the intersect function, but it seems limited as it only matches and returns matched values. I am trying to combine 2 tables on a common column value and return the rows based on a date parameter. Is this even possible using SQL? Thanks in advance! My starting tables look like this: name date doc info janedoe 7/21 jones 47 jonwall 7/1 nick 21 name date doc info janedoe 6/21 jones 74 jonwall 8/31 hall 22 I want to combine these rows

How to connect to SQL Server Express using EntityFramework

谁都会走 提交于 2019-12-13 02:28:45
问题 I tried to find information about this on the web and Stack Overflow, but none of the responses could help me solving my problem. I'm working with C# and SQL Server. I'm using code from an existing project, which project connects to an SQL Server instance to manage data. This project uses EntityFramework. Now I want to use a local instance of SQL Server, precisely SQL Server Express, for development purpose. But I can't figure out how to connect to this local instance. Connecting to the

I cannot connect to SQL Server Express using VB.NET

狂风中的少年 提交于 2019-12-13 01:25:25
问题 Can someone tell me what I am missing? I am using this connection string to connect to my database and still it won't connect: Dim str As String = "Provider = .NET Framework Data Provider for SQL Server; Data Source=C:\Users\konin\Documents\UHMS\bin\Debug\UHMS.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" This is the process I used to get the data source: right-click the database select properties and click select data source I hope I am clear enough. Thanks for reading.

Import Excel 2010 into SQL Server

北慕城南 提交于 2019-12-13 01:05:47
问题 I use Excel to collect & configure data, then import it into SQL Server 2012 for storage. So far I've been using the SQL Server Import & Export Wizard, but it is a pain to manually set it up constantly. Since I'm using Express, of course it won't allow me to save, or even view, the actual commands to transfer the data. I tried to set up a linked server, per How to use Excel with SQL Server linked servers and distributed queries, but get the following error: The linked server has been created

SQL Server Express database size / BLOB storage

懵懂的女人 提交于 2019-12-12 21:09:53
问题 I was reading about external blob storage in SQL Server and was wondering how this relates to the database size. When talking SQL Server Express, you have a limit in database size (for 2008 it's 10GB I believe). So how about your ESB storage? Is that taken into account for this limit, or does it only count the actual .mdf file itself? Thinking about it, what about the .ldf log file? I was thinking about this related to SharePoint. Since the major part of a content database usually consists of

How to install a custom desktop application database to SQL Express?

隐身守侯 提交于 2019-12-12 19:34:56
问题 I have a WPF desktop application that uses a custom database for storage. I need to prepare a setup project (from Visual studio 2008) (full setup, not ClickOnce). I can add the to the list of prerequisites to the application and it does install during the setup of the application. My question is: How can I run a script during the setup to create the database that the application needs? OR how can I restore the database to the client machine during the setup? Another related question, what

Connecting a groovy application to SQL server Express

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 16:40:20
问题 I was following the tutorial below but there must be some significant steps where knowledge, that I don't have, is being assumed. http://padcom13.blogspot.co.uk/2011/01/setting-up-sql-server-2008-express-to.html below is the setup in my datasource.groovy username = "sa" password = "" url = "jdbc:sqlserver://localhost:1433;databaseName=Sandpit" driverClassName = "com.microsoft.sqlserver.jdbc.SQLServerDriver" dialect = "org.hibernate.dialect.SQLServerDialect" and below is the error popping up