This commit is contained in:
PastSaid
2025-01-01 08:21:58 +08:00
parent 9725ab5376
commit 3d15fd4b7e
59 changed files with 3013 additions and 1324 deletions

View File

@@ -0,0 +1,9 @@
SELECT *
FROM (
SELECT t0.FBILLNO,t0.FID,t0e.FEntryID,t0e.FMATERIALID,FN1,FN2,FN3
FROM T_PLN_FORECAST2N3 t0 --<EFBFBD><EFBFBD>ͷ
INNER JOIN T_PLN_FORECAST2N3ENTRY t0e on t0.FID = t0e.FID --<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
) t0
UNPIVOT (
VALUE FOR dateM IN (FN1,FN2,FN3)
) AS t1