sql-server-2014

How to enable/install Full Text Search in SQL Server 2014

十年热恋 提交于 2021-02-17 03:22:29
问题 There is probably a very simple answer to the question but I have no idea how I'm going to enable Full Text Search in SQL Server 2014. I've been searching the net for the last couple of hours, some posts about SQL Server 2012 said it's in the features during installation but I went there and I had no options to enabled it. It is definitely not enabled or installed since I ran select SERVERPROPERTY('IsFullTextInstall') and got a 0. To expand on this more, i've created a Full Text Catalog but

How to enable/install Full Text Search in SQL Server 2014

佐手、 提交于 2021-02-17 03:21:29
问题 There is probably a very simple answer to the question but I have no idea how I'm going to enable Full Text Search in SQL Server 2014. I've been searching the net for the last couple of hours, some posts about SQL Server 2012 said it's in the features during installation but I went there and I had no options to enabled it. It is definitely not enabled or installed since I ran select SERVERPROPERTY('IsFullTextInstall') and got a 0. To expand on this more, i've created a Full Text Catalog but

Access Linked to SQL: Wrong data shown for a newly created record

旧巷老猫 提交于 2021-02-10 22:27:13
问题 I'm using tables in Access (2013), that are linked to an SQL database. The primary key is a column 'RowId', containing a GUID. When I'm adding a new record to the table, and I leave the RowId blank. The record is inserted in the SQL database, but then the added record is filled up with data of another record. After investigating the problem with SQL Server Profiler, I discovered that this happens: First, an INSERT statement is processed: exec sp_executesql N'INSERT INTO "{table}" ("{column1}"

Access Linked to SQL: Wrong data shown for a newly created record

江枫思渺然 提交于 2021-02-10 22:21:48
问题 I'm using tables in Access (2013), that are linked to an SQL database. The primary key is a column 'RowId', containing a GUID. When I'm adding a new record to the table, and I leave the RowId blank. The record is inserted in the SQL database, but then the added record is filled up with data of another record. After investigating the problem with SQL Server Profiler, I discovered that this happens: First, an INSERT statement is processed: exec sp_executesql N'INSERT INTO "{table}" ("{column1}"

Join Two Tables Then Transpose Rows From One Table As Column Names

主宰稳场 提交于 2021-02-10 05:00:11
问题 I'm trying to join two tables ColumnNames ID |Name |Type |Status | ----------------------------------------------------- 1 |Fullname |varchar |Active 2 |Email |varchar |Active 3 |Position |varchar |Active 4 |Category |varchar |Active ColumnValues ID |ColumnNameID |value |Status | ----------------------------------------------------- 1 |1 |Linda |Active 2 |2 |linda@email.com |Active 3 |3 |Soft Eng. |Active 4 |4 |Cat 1 |Active 5 |1 |Remil |Active 6 |2 |Remil@email.com |Active 7 |3 |Senior Soft

Join Two Tables Then Transpose Rows From One Table As Column Names

心已入冬 提交于 2021-02-10 04:59:07
问题 I'm trying to join two tables ColumnNames ID |Name |Type |Status | ----------------------------------------------------- 1 |Fullname |varchar |Active 2 |Email |varchar |Active 3 |Position |varchar |Active 4 |Category |varchar |Active ColumnValues ID |ColumnNameID |value |Status | ----------------------------------------------------- 1 |1 |Linda |Active 2 |2 |linda@email.com |Active 3 |3 |Soft Eng. |Active 4 |4 |Cat 1 |Active 5 |1 |Remil |Active 6 |2 |Remil@email.com |Active 7 |3 |Senior Soft

SQL Server 2014 SP2 does not start on Windows Docker

自作多情 提交于 2021-02-08 08:22:29
问题 I want to install and use SQL Server 2014 SP2 on Windows Docker. But the SQL Server service does not start. Steps to reproduce: Download "Microsoft SQL Server 2014 Service Pack 2 (SP2) Express" English version from https://www.microsoft.com/en-US/download/details.aspx?id=53167. Execute the "SQLEXPR_x64_ENU.exe", extract to "SQLEXPR_x64_ENU" folder, and cancel the installer. Write Dockerfile as below. Execute "docker build -t sample .". Execute "docker run --name sample -i --rm sample".

SQL Server 2014 SP2 does not start on Windows Docker

微笑、不失礼 提交于 2021-02-08 08:21:05
问题 I want to install and use SQL Server 2014 SP2 on Windows Docker. But the SQL Server service does not start. Steps to reproduce: Download "Microsoft SQL Server 2014 Service Pack 2 (SP2) Express" English version from https://www.microsoft.com/en-US/download/details.aspx?id=53167. Execute the "SQLEXPR_x64_ENU.exe", extract to "SQLEXPR_x64_ENU" folder, and cancel the installer. Write Dockerfile as below. Execute "docker build -t sample .". Execute "docker run --name sample -i --rm sample".

Perform a Case insensitive Like query in a case sensitive SQL Server database

混江龙づ霸主 提交于 2021-02-07 13:38:55
问题 This is my scenario. SQL Server 2014 Standard edition, I have a database with a collation SQL_Latin1_General_CP437_BIN2 which is case sensitive. I want to perform a LIKE query which should return the output irrespective of case sensitive. Ex: if i execute a Like query to fetch the records with userName 'John' it should also return rows irrespective of case sensitive 'JOHN', 'John', 'john','joHN'. I tried using Lcase , Ucase , but I am getting the error Msg 195, Level 15, State 10, Line 4

How to join comma separated column values with another table as rows

房东的猫 提交于 2021-02-07 13:31:40
问题 I am trying to join two tables by first converting a comma separated values from a column "SupplierId" which I am doing successfully. However, the issue comes in when I try joining to another table 'Vendors' with the Supplier names via a foreign key 'DCLink'. This is what I mean: The select statement for the Original Table, SELECT InquiryId, SupplierId FROM Procure_InquiryDetails Gives this result InquiryId SupplierId 1 2,3 2 175 3 170,280 5 7 12 8 5,9 I am able to split the columns from