sql-server-express

Problem with save cyrillics data to sqlexpress database

拟墨画扇 提交于 2020-02-06 06:33:46
问题 I am using .net entity framework, asp.net mvc, sqlexpress and have one problem: when save data to sqlexpress database table (something like this само да пробам ) on that table I have this ???? ?? ??????. On column where insert cyrillics data I set collation:Serbian_Cyrillic_100_CI_AI. 回答1: The datatype of the column should be nvarchar (which is Unicode). 来源: https://stackoverflow.com/questions/5602049/problem-with-save-cyrillics-data-to-sqlexpress-database

update statement not executing

此生再无相见时 提交于 2020-01-25 12:29:12
问题 I am trying to write an UPDATE query that can check for a null value in one of the fields. I have three conditions, two are mandatory, of three fields. itemCode and itemCheckDigit will always exist, itemSuffix is possibily Null. There may be multiple records where itemCode and itemCheckDigit together are equal to other records, itemSuffix is the unquie identifier, only one instance will exist though where itemSuffix is Null and it will never be duplicated. UPDATE item SET itemImageFileName =

How to install Microsoft.ACE.OLEDB.12.0 on Win7 64b with SQLExpress 2008

浪子不回头ぞ 提交于 2020-01-24 21:25:27
问题 I was running VSExpress 2010 C# and SQLExpress 2008 on 32b XP. Due to a failure I am now on Win7 64bit. I have reinstalled VSExpress C# (64b). I installed SQLExpress (64b) however my application uses the Microsoft.ACE.OLEDB.12.0 driver to connect to a Office 2007 (32b) database. I could not get the Microsoft.ACE.OLEDB.12.0 to load on SQLExpress (64b). What do I need to do to get Microsoft.ACE.OLEDB.12.0 working again in SQLExpress? Do I need to run the 32bit version? (I have downloaded it but

Installing SQL Server 2014 Express as a prerequisite in boostrapper

北战南征 提交于 2020-01-21 10:09:03
问题 I am trying to use boostrapper (Wix 3.11) to set up an installation, with SQL Server 2014 Express as a prerequisite. It works well when I install setup.exe or SQLEXPR_x64_ENU.exe with command line. The command line is the following : SQLEXPR_x64_ENU.exe /q /ACTION=Install /FEATURES=SQL /INSTANCENAME=MSSQLSERVER /SQLSVCACCOUNT="NT AUTHORITY\Network Service" /SQLSYSADMINACCOUNTS="NT AUTHORITY\Network Service" /AGTSVCACCOUNT="NT AUTHORITY\Network Service" /IACCEPTSQLSERVERLICENSETERMS

Installing SQL Server 2014 Express as a prerequisite in boostrapper

…衆ロ難τιáo~ 提交于 2020-01-21 10:08:28
问题 I am trying to use boostrapper (Wix 3.11) to set up an installation, with SQL Server 2014 Express as a prerequisite. It works well when I install setup.exe or SQLEXPR_x64_ENU.exe with command line. The command line is the following : SQLEXPR_x64_ENU.exe /q /ACTION=Install /FEATURES=SQL /INSTANCENAME=MSSQLSERVER /SQLSVCACCOUNT="NT AUTHORITY\Network Service" /SQLSYSADMINACCOUNTS="NT AUTHORITY\Network Service" /AGTSVCACCOUNT="NT AUTHORITY\Network Service" /IACCEPTSQLSERVERLICENSETERMS

Connect Remotely to SQL Server Express instance hosted on Google Compute Engine

☆樱花仙子☆ 提交于 2020-01-17 12:10:07
问题 I'm trying to access SQL Server Express installed on Windows Server 2012 on Google Compute Engine VM. I have assigned STATIC IP to the instance and also added an exception to the firewall in Windows for port 1433 as well as in via console area of Compute Engine and allowed my IP in authentication. I tried connecting the instance remotely via STATIC IP and Instance Name ( IP\instancename ) using SQL Server authentication, I have also configured SQL Server to accept remote connections as well

C# Visual Studio: How do I update a DB from Edit with DataGridView using LINQ?

我怕爱的太早我们不能终老 提交于 2020-01-17 04:43:26
问题 I have a form WinForms form window with a DataGridView. It pulls data from a SQL Server Express database using Linq and displays it in the DataGridView columns properly. I have it set in the properties to allow editing. When I edit and change a field during runtime it will only update the database if I specify one column name. This doesn't work well because I need it to update the column I edit, not the one hard coded. It needs to be dynamic. See the comments next to site.??? I can choose a

send email from sql server express [closed]

£可爱£侵袭症+ 提交于 2020-01-16 16:12:26
问题 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 3 years ago . i want to send an email as a user inserts some data into a table. is this possible in sql express? please help with the code. i would use a trigger for insertion on the table. for email what features shall i have on my PC. i have Windows XP. 回答1: As far as I know, SQL Express does

Group characters of varchar field

。_饼干妹妹 提交于 2020-01-15 03:29:07
问题 I am creating an import data tool from several vendors. Unfortunately the data is not generated by me, so i have to work with it. I have come across the following situation. I have a table like the following: ID |SartDate |Availability ======================================== H1 |20130728 |YYYYYYNNNNQQQQQ H2 |20130728 |NNNNYYYYYYY A3 |20130728 |NNQQQQNNNNNNNNYYYYYY A2 |20130728 |NNNNNYYYYYYNNNNNN To explain what this data means is: Every letter in the Availability column is the availability

Is it possible to run SQL Express within a Azure Web Role?

不羁岁月 提交于 2020-01-14 14:06:37
问题 I am working on a project which uses a relational database (SQL Server 2008). The local (on-premises) application both reads and writes to the database. I am working on a different front end for Azure (MVC2 Web Role), which will use the same data, but in a read only fashion. If I was deploying a traditional web app, I would use SQL Express to act as the local database, and deploy changes with updates to the application (the data changes very slowly) or via some sync system. With Azure, the