You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ShardingSphere SQL parser engine helps users to parse SQL to create the AST (Abstract Syntax Tree) and visit the AST to get SQLStatement (Java Object). Currently, we are planning to enhance the support for SQL Server SQL parsing in ShardingSphere.
INSERT INTOProduction.ZeroInventory (DeletedProductID, RemovedOnDate)
SELECT ProductID, GETDATE()
FROM
( MERGE Production.ProductInventoryAS pi
USING (SELECT ProductID, SUM(OrderQty) FROMSales.SalesOrderDetailAS sod
JOINSales.SalesOrderHeaderAS soh
ONsod.SalesOrderID=soh.SalesOrderIDANDsoh.OrderDate='20070401'GROUP BY ProductID) AS src (ProductID, OrderQty)
ON (pi.ProductID=src.ProductID)
WHEN MATCHED ANDpi.Quantity-src.OrderQty<=0
THEN DELETE
WHEN MATCHED
THEN UPDATESETpi.Quantity=pi.Quantity-src.OrderQty
OUTPUT $action, deleted.ProductID) AS Changes (Action, ProductID)
WHERE Action ='DELETE'
Background
Hi community.
This issue is for #29149.
The ShardingSphere SQL parser engine helps users to parse SQL to create the AST (Abstract Syntax Tree) and visit the AST to get SQLStatement (Java Object). Currently, we are planning to enhance the support for
SQL Server
SQL parsing in ShardingSphere.More details:
https://shardingsphere.apache.org/document/current/en/reference/sharding/parse/
Task
This issue is to support more
SQL Server
sql parsing, as follows:link
link
link
link
link
Process
SQL Server
sql syntax, if not please leave a message under the issue and ignore it;Relevant Skills
g4
fileSQL Server
SQLsThe text was updated successfully, but these errors were encountered: