Selcuk Dogru
09/30/2021, 8:37 AMCD
09/30/2021, 8:55 AMCD
09/30/2021, 8:57 AMvar rows = query.runSuiteQL({ query: 'select * from transaction where id = ? ', parameters: [ '123456' ] }).asMappedResults();
Selcuk Dogru
09/30/2021, 8:58 AMSelcuk Dogru
09/30/2021, 9:00 AMSelcuk Dogru
09/30/2021, 9:04 AMDECLARE
tranid integer := 30777853;
BEGIN
SELECT * from TRANSACTION T
WHERE T.id = tranid;
END
Selcuk Dogru
09/30/2021, 9:04 AMEge Çolak
09/30/2021, 9:23 AMCD
09/30/2021, 9:59 AMCD
09/30/2021, 9:59 AMparameters
.CD
09/30/2021, 10:00 AM:param1
bind syntax that's used elsewhere in the programming worldCD
09/30/2021, 10:01 AMtdietrich
09/30/2021, 10:49 AMWITH Temp AS
( SELECT 22993 AS TranID FROM DUAL )
SELECT
Transaction.*
FROM
Transaction
INNER JOIN Temp ON
( Temp.TranID = Temp.TranID )
WHERE
( ID = Temp.TranID )
It's awkward, but it works, and essentially achieves the same goal.CD
09/30/2021, 10:50 AMSelcuk Dogru
09/30/2021, 11:16 AMstalbert
09/30/2021, 1:37 PMSelcuk Dogru
09/30/2021, 1:39 PM