Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

INSERT INTO GBP Plus(Index Change) VALUES( AND((SELECT NUMINDEX FROM GBP WHERE ID>ID-1) - (SELECT NUMINDEX FROM GBP WHERE ID=ID ))

INSERT INTO GBPPlus(IndexChange)
VALUES( ABS((SELECT NUMINDEX FROM GBP WHERE ID>ID-1) - (SELECT NUMINDEX FROM GBP WHERE ID=ID ))
 
PREVIOUS NEXT
Tagged: #INSERT #INTO #GBP #NUMINDEX #FROM #GBP #WHERE #NUMINDEX #FROM #GBP #WHERE
ADD COMMENT
Topic
Name
5+1 =