MedicOneSystems / MedicOneSystems/livewire-datatables

QueryException

Open
#485 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
1.2k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]'CONCAT_WS' is not a recognized built-in function name. (SQL: select top 20 [devs].[customer_id] as [customer_id], [devs].[customer_name] as [customer_name], [devs].[email] as [email], [devs].[phone_number] as [phone_number], [devs].[qatar_id] as [qatar_id], [devs].[nationality] as [nationality], [devs].[code] as [code], CONCAT_WS("|lwdt|" ,COALESCE(devs.customer_id, ''), COALESCE(devs.customer_name, '')) AS callback_2400307084 from [devs] order by customer_id desc) (View: C:\inetpub\wwwroot\uccx\vendor\mediconesystems\livewire-datatables\resources\views\livewire\datatables\datatable.blade.php)

i faced this issue while fetching SQL express record in laravel livewire datatable

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the SQL expression using CONCAT_WS and the referenced resources/views/livewire/datatables/datatable.blade.php view. Reproduce the query against SQL Server, then determine the supported compatibility path for the CONCAT_WS error; done means the datatable query fetches records successfully without this exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php, sql
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.