Somedeveloper
Somedeveloper

Reputation: 867

Oracle syntax >= :1 means

Can someone tell me what oracle syntax >= :1 means? Example

Select * from someTable s WHERE (TRUNC(s.ShippedOn)) >= :1

in this example ShippedOn is a NUMBER(20,10)

thanks Niall

Upvotes: 1

Views: 62

Answers (2)

Ashish Patil
Ashish Patil

Reputation: 4614

Your Select statement is dynamic sql statement and (TRUNC(s.ShippedOn)) >= :1 is means (TRUNC(s.ShippedOn)) is greater than or equal to bind variable value which you will pass at run time. More info in this page .

Upvotes: 1

Ed Heal
Ed Heal

Reputation: 60007

It means greater than or equal to a bound varable

Upvotes: 3

Related Questions