0
我必須執行以下邏輯到SAS:加入巨大的表
If
the product field in Client_lookup table is ‘DC’
and if the client_nbr field in Client_lookup table matches with the client_nbr column in Gforce_Auth table,
then
the first six digits of merchant_number field in Gforce_Auth tables will be compared with the first six digit of current_account_number in the Gforce_Auth tables.
If it becomes equal, then the In store column = ‘Y’ otherwise it is set to ‘N’. The in store column will be set to null if the client _nbr field is not same in both the tables.
請讓我知道我可以加入這個兩個表,並同時加入檢查上述條件。
我試着用合併聲明,但沒有奏效。提前致謝。
問候, 的Sudhir
你用什麼代碼來嘗試合併?請發佈您的輸入數據樣本以及您期望的結果。 – itzy 2012-08-17 17:58:40
每個表中有多少行? – 2012-08-18 20:06:49