You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

SQL script - declare variable

edited Mar 2, 2020 2:58PM in Sales 3 comments

Summary

SQL script - declare variable

Content

How to declare variable and use it in the same SQL script?

I would like to store the result of my initial query in a variable then use it in case statement if the result of another query is null.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!