Quantcast
Channel: SQL Server Express forum
Viewing all 3319 articles
Browse latest View live

2008 R2 SP2 patch/repair failure "The given key is not present in the dictionary"

$
0
0

I've got 4 systems failing to take "Security Update for SQL Server 2008 R2 Service Pack 2 (KB3045313)"

If I try anything related to Setup, uninstall, reinstall I get the same exact failure message. (Below)

All the computers are running fully patched copies of Windows 7 x64 Enterprise, and I'm reasonably sure this is SQL Express.

I show on all of them, the last successful SQL Server patch was KB2977320.

They all fail with the same exact error "SQL Server Setup has encountered the following error: The given key was not present in the dictionary."

I've had our DBA look at it and he thought maybe it was related to the account installing the patch not having sysadmin access to the database, but I think that ended up not being the case, because I can use PSEXEC to run it as "NT Authority\System" and it still fails with the same error.

These 4 computers are some of those thorn in the side systems that each month show up on security reports as missing the same update for more than 30 days.

I’ve included the log file from Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20160831_232434 which is the error that it documents.

(Edit: I had to trim to just the end of the log file because it put this message over the limit)

2016-08-31 23:24:41 Slp:    at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)

2016-08-31 23:24:41 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
2016-08-31 23:24:41 Slp:    --- End of inner exception stack trace ---
2016-08-31 23:24:41 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
2016-08-31 23:24:41 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
2016-08-31 23:24:41 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
2016-08-31 23:24:41 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2016-08-31 23:24:41 Slp: Received request to add the following file to Watson reporting: C:\Users\administrator\AppData\Local\Temp\tmp692E.tmp
2016-08-31 23:24:41 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
2016-08-31 23:24:41 Slp: Inner exceptions are being indented
2016-08-31 23:24:41 Slp: 
2016-08-31 23:24:41 Slp: Exception type: System.Collections.Generic.KeyNotFoundException
2016-08-31 23:24:41 Slp:     Message: 
2016-08-31 23:24:41 Slp:         The given key was not present in the dictionary.
2016-08-31 23:24:41 Slp:     Stack: 
2016-08-31 23:24:41 Slp:         at System.ThrowHelper.ThrowKeyNotFoundException()
2016-08-31 23:24:41 Slp:         at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
2016-08-31 23:24:41 Slp:         at Microsoft.SqlServer.Discovery.Sql80DetectionInterface.GetFeatureProperties(String instanceName, List`1& outVal)
2016-08-31 23:24:41 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadSql80Data(String machineName)
2016-08-31 23:24:41 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
2016-08-31 23:24:41 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectDiscoveryData(String machineName)
2016-08-31 23:24:41 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
2016-08-31 23:24:41 Slp:         at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
2016-08-31 23:24:41 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
2016-08-31 23:24:41 Slp:         at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
2016-08-31 23:33:19 Slp: Watson Bucket 1 
 Original Parameter Values 

2016-08-31 23:33:19 Slp: Parameter 0 : SQL2008@RTM@KB3045313 

2016-08-31 23:33:19 Slp: Parameter 1 : System.ThrowHelper.ThrowKeyNotFoundException 

2016-08-31 23:33:19 Slp: Parameter 2 : System.ThrowHelper.ThrowKeyNotFoundException 

2016-08-31 23:33:19 Slp: Parameter 3 : System.Collections.Generic.KeyNotFoundException@-2146232969 

2016-08-31 23:33:19 Slp: Parameter 4 : System.Collections.Generic.KeyNotFoundException@-2146232969 

2016-08-31 23:33:19 Slp: Parameter 5 : RunDiscoveryAction 

2016-08-31 23:33:19 Slp: 
 Final Parameter Values 

2016-08-31 23:33:19 Slp: Parameter 0 : SQL2008@RTM@KB3045313 

2016-08-31 23:33:19 Slp: Parameter 1 : 0xA0A72FEE 

2016-08-31 23:33:19 Slp: Parameter 2 : 0xA0A72FEE 

2016-08-31 23:33:19 Slp: Parameter 3 : 0xD05BC945 

2016-08-31 23:33:19 Slp: Parameter 4 : 0xD05BC945 

2016-08-31 23:33:19 Slp: Parameter 5 : RunDiscoveryAction 

2016-08-31 23:33:19 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20160831_232434\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
2016-08-31 23:33:19 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20160831_232434\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
2016-08-31 23:33:19 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20160831_232434\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
2016-08-31 23:33:19 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20160831_232434\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft SQL Server.reg_
2016-08-31 23:33:19 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20160831_232434\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
2016-08-31 23:33:19 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20160831_232434\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
2016-08-31 23:33:20 Slp: The given key was not present in the dictionary.
2016-08-31 23:33:20 Slp: Watson bucket for exception based failure has been created
2016-08-31 23:33:20 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
2016-08-31 23:33:20 Slp: Sco: Attempting to open registry subkey 
2016-08-31 23:33:20 Slp: Sco: Attempting to open registry subkey Software\Microsoft\PCHealth\ErrorReporting\DW\Installed
2016-08-31 23:33:20 Slp: Sco: Attempting to get registry value DW0201
2016-08-31 23:33:20 Slp: Submitted 1 of 1 failures to the Watson data repository
2016-08-31 23:33:20 Slp: 
2016-08-31 23:33:20 Slp: ----------------------------------------------------------------------
2016-08-31 23:33:20 Slp: 
2016-08-31 23:33:20 Slp: Error result: -71883602
2016-08-31 23:33:20 Slp: Result facility code: 951
2016-08-31 23:33:20 Slp: Result error code: 9390



Express 2016 with Advanced Options

$
0
0

Is Express 2016 with advanced options, the install page suggests that the installer should provide install options but it doesn't, and the express 2016 product page lists 'with advanced options' as an available install option.

Any suggestions?


To check if all the values in a row are empty strings or NULLs

$
0
0

Hi all,

I have a query regarding checking of NULL values in a row. I want to check if all the values in a row are NULLs or empty strings.

SELECT col1, col2 FROM table_name

WHERE ISNULL(col1,'') = ''

AND ISNULL(col2,'') = ''

I know the above query. But i have a table with 200 columns and over 7000 records. Is there a better way to perform the query?

Thanks in advance.

query excution on local db is too slow

$
0
0

Hi,

I have vb.net application which connects to localdb on my local system. it retrieves the data but it take too much time to update or retrieve the data.

one of my coleague is using same application and for him its loads up quickly and it seems like its an enviorenment thing.

Does anyone know what can be the reason?

Thanks

Cannot install SQL Express 2016

$
0
0

I have been trying to download SQL Express 2016 (Windows 10 with current updates applied) after removing a previous copy that had been in use for some months but had become corrupted.

I have tried the Basic, Custom & Download Media download options at https://www.microsoft.com/en-us/download/details.aspx?id=52679  but they all fail. 

Examples of error messages I get are

And ....


Grateful for any advice and assistance.

Install SQL Server 2014 silently with a WIX bundle

$
0
0

I need SQL Server Express 2014 to be silently (/Q on the command line) installed as part of a WIX bundle. The exe package element downloads the source from Microsoft at run time (http://download.microsoft.com/download/E/A/E/EAE6F7FC-767A-4038-A954-49B8B05D04EB/Express%2064BIT/SQLEXPR_x64_ENU.exe). But even when I package it locally it still has the same behavior.

When I use the vaguely documented X parameter in the command line it simply extracts the stuff from SQLEXPR_x64_ENU and stops. It never executes the rest of the command line. If I do not provide the X parameter it fails to extract anything and fails.

This way of bundling has worked for SQL Server 2012, 2008, and 2005 express.

Is there some way to make this work?

Can I use SQL Server Express in place of SQL Server 2014

$
0
0

I will be receiving a VM from a customer, we do not own SQL Server 2014.  I was hoping we could use SQL Server Express in place of SQL Server 2014 in the virtual environment.

Thanks in advance!

SQL Express 2016 installation fails on Windows 10 x64

$
0
0

I have repeatedly tried to install SQL Express 2016, but it always fails, and worse yet... leaves me in a broken state that requires manual removal of the registry keys / files (e.g. "uninstall" does not work). 

I'm not worried about the uninstall, it's annoying but I can manually revert.

Anyone have suggestions about getting the install to work? 

Things I have already tried:

1) Running with admin privledges

2) Fully cleaning all remnants of previous installs off the disk

3) Leaving the Microsoft SQL Server folder under program files and granting all users full access to the folder

4) Dropping down to SQL Express 2014 (same error)


The installer displays this message:

Unable to install SQL Server (setup.exe).

Exit code (Decimal)
-2147467259
Error description
The system cannot find the path specified 


I see a similar error in C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\xxx\Summary_xxxx.txt :

Detailed results:
  Feature:                       Database Engine Services
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred during the setup process of the feature.
  Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
  Component name:                SQL Server Database Engine Services Instance Features
  Component error code:          0x80004005
  Error description:             The system cannot find the path specified
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=13.0.1601.5&EvtType=0xF57C3D6F%400xDC80C325&EvtType=0xF57C3D6F%400xDC80C325

  Feature:                       SQL Browser
  Status:                        Passed

  Feature:                       SQL Writer
  Status:                        Passed

  Feature:                       SQL Client Connectivity
  Status:                        Passed

  Feature:                       SQL Client Connectivity SDK
  Status:                        Passed

And again, a similar error in C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\xxx\Detail.txt:

(01) 2016-10-13 18:29:33 SQLEngine: --RsFxConfiguration: Service RsFx0401 does not exist, executing install steps
(01) 2016-10-13 18:29:33 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
(01) 2016-10-13 18:29:33 Slp: Sco: Attempting to open registry subkey SYSTEM\CurrentControlSet\Services\FltMgr
(01) 2016-10-13 18:29:33 Slp: Sco: Attempting to get registry value AttachWhenLoaded
(01) 2016-10-13 18:29:33 SQLEngine: : SetFltMgrAttachWhenLoadedKey : AttachWhenLoaded value is set to 1 
(01) 2016-10-13 18:29:33 Slp: Sco: Attempting to set value AttachWhenLoaded
(01) 2016-10-13 18:29:33 Slp: SetValue: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FltMgr, Name = AttachWhenLoaded
(01) 2016-10-13 18:29:33 SQLEngine: --RsFxConfiguration: InfFilePath is C:\Program Files\Microsoft SQL Server\130\Shared\RsFxInstall\RsFx0401.inf
(01) 2016-10-13 18:29:33 SQLEngine: --RsFxConfiguration: ExecuteInfSection RetVal = 3
(01) 2016-10-13 18:29:33 Slp: Configuration action failed for feature SQL_Engine_Core_Inst during timing ConfigNonRC and scenario ConfigNonRC.
(01) 2016-10-13 18:29:33 Slp: The system cannot find the path specified
(01) 2016-10-13 18:29:33 Slp: The configuration failure category of current exception is ConfigurationFailure
(01) 2016-10-13 18:29:33 Slp: Configuration action failed for feature SQL_Engine_Core_Inst during timing ConfigNonRC and scenario ConfigNonRC.
(01) 2016-10-13 18:29:33 Slp: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the path specified
(01) 2016-10-13 18:29:33 Slp:    at Microsoft.SqlServer.Configuration.SqlEngine.RsFxConfiguration.Install()
(01) 2016-10-13 18:29:33 Slp:    at Microsoft.SqlServer.Configuration.SqlEngine.FilestreamConfiguration.Install()
(01) 2016-10-13 18:29:33 Slp:    at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.SetupFilestream(EffectiveProperties properties)
(01) 2016-10-13 18:29:33 Slp:    at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install_ConfigNonRC_Prepare(EffectiveProperties properties)
(01) 2016-10-13 18:29:33 Slp:    at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)
(01) 2016-10-13 18:29:33 Slp:    at Microsoft.SqlServer.Configuration.SqlConfigBase.PrivateConfigurationBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, ConfigBaseAction action, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent)
(01) 2016-10-13 18:29:33 Slp:    at Microsoft.SqlServer.Configuration.SqlConfigBase.SqlFeatureConfigBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, ConfigBaseAction action, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent)
(01) 2016-10-13 18:29:33 Slp:    at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)
(01) 2016-10-13 18:29:33 Slp:    at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)
(01) 2016-10-13 18:29:33 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2016-10-13 18:29:33 Slp: Inner exceptions are being indented
(01) 2016-10-13 18:29:33 Slp: 
(01) 2016-10-13 18:29:33 Slp: Exception type: System.ComponentModel.Win32Exception
(01) 2016-10-13 18:29:33 Slp:     Message: 
(01) 2016-10-13 18:29:33 Slp:         The system cannot find the path specified
(01) 2016-10-13 18:29:33 Slp:     HResult : 0x80004005
(01) 2016-10-13 18:29:33 Slp:     Error : 3
(01) 2016-10-13 18:29:33 Slp:     Data: 
(01) 2016-10-13 18:29:33 Slp:       SQL.Setup.FailureCategory = ConfigurationFailure
(01) 2016-10-13 18:29:33 Slp:       WatsonConfigActionData = INSTALL@CONFIGNONRC@SQL_ENGINE_CORE_INST
(01) 2016-10-13 18:29:33 Slp:       WatsonExceptionFeatureIdsActionData = System.String[]
(01) 2016-10-13 18:29:33 Slp:     Stack: 
(01) 2016-10-13 18:29:33 Slp:         at Microsoft.SqlServer.Configuration.SqlEngine.RsFxConfiguration.Install()
(01) 2016-10-13 18:29:33 Slp:         at Microsoft.SqlServer.Configuration.SqlEngine.FilestreamConfiguration.Install()
(01) 2016-10-13 18:29:33 Slp:         at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.SetupFilestream(EffectiveProperties properties)
(01) 2016-10-13 18:29:33 Slp:         at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install_ConfigNonRC_Prepare(EffectiveProperties properties)
(01) 2016-10-13 18:29:33 Slp:         at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)
(01) 2016-10-13 18:29:33 Slp:         at Microsoft.SqlServer.Configuration.SqlConfigBase.PrivateConfigurationBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, ConfigBaseAction action, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent)
(01) 2016-10-13 18:29:33 Slp:         at Microsoft.SqlServer.Configuration.SqlConfigBase.SqlFeatureConfigBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, ConfigBaseAction action, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent)
(01) 2016-10-13 18:29:33 Slp:         at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)
(01) 2016-10-13 18:29:33 Slp:         at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)
(01) 2016-10-13 18:29:33 Slp: Watson Bucket 3 
 Original Parameter Values 


how to upgrade SQL Server from 2005 to 2014

$
0
0

hi i have installed sql server 2005 now i want to upgrade it to 2014 is it possible

if yes tell me the procedure


Cannot download SQL Express 2016

$
0
0

I have been trying to download SQL Express 2016 from https://www.microsoft.com/en-us/download/details.aspx?id=52679 for several days.

The downloads fail and the following helpful error message is provided:

Oops..
Network issues have prevented the download of the SQL installer file "https://download.microsoft.com/download/E/1/2/E12B3655-D817-49BA-B934-CEB9DAC0BAF3/SQLEXPRADV_x64_ENU.exe". Please try again later.

A workable option is just to install Enterprise SQL Server which I have downloaded in ISO file format from the MS MAPS site using MS Download Manager but all I need on this development machine is EXPRESS.

I don't have a problem downloading other MS software (eg Visual Studio) to this machine.

Can anyone tell me if I can download SQL Express 2016 from an alternate source or using the MS Download Manager or ISO file format?

I am grateful for any suggestions that can lead me to a successful SQL Express 2016 download.

Thanks in advance.

AUTO_SHRINK on an SQL Express DB

$
0
0
Is it possible to turn on AUTO_SHRINK for an SQL Express 2008 database? If so, could someone help me with the script?

Brian Tillman [MVP-Outlook]

Win10 update KB3199209 disrupted SQL authentication

$
0
0

Hello All,

Full disclosure. I'm a hobbyist, so I'm not very sophisticated. I play around for fun and am functional in VB and SQL. I built a .NET app for myself that maintains a SQL Express database of our purchases. It logs purchases and costs. It also queries the database by date and tabulates running monthly totals for different budget segments. Data from it is transferred manually to Excel.

The app is written in VB.NET and I'm running Win10 and SQL Server Express 2008 R2. For access, the program uses SQL Authentication with a hardcoded password for access to the database. I realize that it's probably not very secure, but there's noting at all in this database that's sensitive. It's literally just a list of useless numbers. The program worked perfectly until a Win10 upgrade last week. At that time, my app failed to to access the database. I know that it's the upgrade that was responsible, because I removed the update and everything worked perfectly well.

In the past, when I've had trouble with a Windows upgrade, I've just removed and waited for the next autoupdate cycle. Problems are usually identified and patched by then. But not this time... My computer just updated with Win10 update KB3199209 and my app is once again dead. I certainly don't want to leave my whole system vulnerable by taking the update off again. But I'd like my app to work. It's actually damn useful. We used to keep all this in an Excel spreadsheet. The app is making life a lot easier... Any ideas on how this Win10 update might be screwing up SQL authentication of my VB app? Also is there an alternate place to cross post this that might be more appropriate?

Thx,

Peter

SQL Server Express 2016 on Server 2012 R2 Essentials

$
0
0

Hi,

I know that it is not recommended to install SQL on Server 2012 R2 Essentials, but it is officially supported on the Microsoft site. However, it WILL NOT install. I have tried numerous times and I always receive an error saying that it could not find group with identity S-[A sequence of a bunch of numbers]. These numbers are not always the same. What gives? I bought Server 2012 R2 because SQL Server was supported on it. I really need help. I've various nights over the last month trying to get this to work and no luck.

Thank you.

SQLSERVER Slow Performance on Servers with higher RAM

$
0
0

Hi experts,

I am using Sqlserver express 2008 (64bit) on Windows Server 2012R2 with 56GB RAM.

I have a webapplication written in c# asp.net MVC5 hosted on IIS 8.5 64bit.

This application has been hosted as a 32 bit application as it has other 32 bit dependencies.

The data retrieval happens to be extremely slow, i.e. it takes approx 1.2 mins to run a simple query which returns 5 records.

I have configured sql server min server memory to 8GB and max to 28 GB (if that matters, since its express edition I dont think it does matter)

The resource monitor shows the following statistics :

6,82,000 Virtual Memory

4,27,000 Working Virtual Memory

1467000 sharable memory

82000 Private memory

The problem is that the exact same setup works perfectly fine on same config with 8GB RAM.

I have 2 questions :

Could this be a SQLserver bottleneck? If yes then how to go ahead with the troubleshooting.

Does 32 bit application connecting to a 64bit instance of sqlserver have performance issues? Should I try a 32 bit instance instead.

CSV Import is missing some values in some rows

$
0
0

Hi

I am trying to import data from csv files to SQL Server using Import Wizard in SSMS. But after import, in some of the rows, some values are missing, though they exist in the csv. This issue appears when I change the data type of the destination columns(e.g. to numeric(18,0) for the column that contains only numeric values) manually before import. But, if I don't change the datatypes, all of the data is imported correctly.

I have verified that all the rows contain valid values for the data types that I am changing to. 

Any help on this is appreciated.

Thanks

Kunal


Problem with insert 'Invalid object name dbo.sysmergearticles'

$
0
0

I get this error when trying to insert a row to a table. The database tables use to be part of replication.

No row was updated

The data in row 107 was not committed.

Error Message: Invalid object name ‘dbo.sysmergearticles’

Patching for SQL Server Express

$
0
0

Do we patch SQL Server Express like regular SQL Server Enterprise?

If I install SQL Server Express 2014 using the copy downloaded from https://www.microsoft.com/en-US/download/details.aspx?id=42299

will I apply SP2 on it and CU2 like regular SQL Server?


Thank you for viewing

Free SQL Database

$
0
0

I want to install SQL Server database which one is free provided by Microsoft for some small work. I want that particular link. I think it is express edition. But I have a confusion which one I have to select.

Can anybody provide me the direct link to download. I do not want to go step by step.

Thanks in advance.

Computed Column Specification

$
0
0

Hi all,

I have the following problem:

I have a Table with some columns and one column Totaal which has a Computed Column Specification:

[Stelpost]+[Aantal]*[Matkost]+[Norm]*[Uren]*[Loonkost]

All calculations for the Totaal column went fine, but, Stelpost can have a NULL value (Allow Nulls)

If this is the case, the Totaal column gets also a NULL value, why?

Let's say:

Stelpost = NULL

Aantal = 2

Matkost = 3

Norm = 2

Uren =4

Loonkost =3

the calculation should be for the Totaal column:

NULL + 2 * 3 + 2 * 4 * 3 = 30 but Totaal will be NULL

But if I just edit the Stelpost column with 0 then the Totaal column shows 30

0 + 2 * 3 + 2 * 4 * 3 = 30

So with other words, it is not possible to use a Computed Column Specification with a column who has a NULL value?

Regards,

Mark

SQL Server® 2016 Express full download

$
0
0
All previous version of SQL Server Express were available in both web and full downloads. But I cannot find full download of SQL Server® 2016 Express. Does it exist?
Viewing all 3319 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>