我在sql server中有2个表。我的目标是将第一个表列(TCODES)与第二个表列名称(ST_Description)进行比较。如果匹配,则在第二个表中选择所有列数据。我可以在控制台中获取所有数据。但是我是无法继续。你最早的回复会帮助我。
DB中的第一个表数据:
#TCODES(column name)#
[SAT,
ZN4963_PROM_01,
/LCLCDP/BVOUTPUT,
/LCLCDP/CSV_IDOC_CRE,
/lclcdp/export_settl,
/lclcdp/itemization,
/lclcdp/TUD,
/LCLCDP/UPLOAD_CSV,
/N/LCLCDP/CSV_IDOC_CRE,
/n/posdw/mon0 ,
/posdw/mon0,
AL11,
ARCU_COIT1,
AS01,
AS02,
DB中的第二个表数据:列名称是版本名称
#Release_Name# ##Cycle_Name## ###ST_DESCRIPTION ###
-------------------------------------------------------------------------------
Oct Release |SAP Regression
February Release |Non SAP - SIT - Feb2016 |Navigate to SAT Inquiry page
February Release |Non SAP - SIT - Feb2016 |Navigate ARCU_COIT1 inuiry page
February Release |Non SAP - SIT - Feb2016 |Type ASN pertaining to the PO
February Release |Non SAP - SIT - Feb2016 |Select AS01 option in UI
February Release |Non SAP - SIT - Feb2016 |Enter the dock and click next
February Release |Non SAP - SIT - Feb2016 |Type AL11 number ad qty in the
February Release |Non SAP - SIT - Feb2016 | /lclcdp/itemization
February Release |Non SAP - SIT - Feb2016 |Navigate to ASN Inquiry page
February Release |Non SAP - SIT - Feb2016 |Validate the /posdw/mon0