You have a table with user names. You need to get a dynamic result table where rows correspond to the logged in (current) user.
Enter the following SQL query:
SELECT * FROM T1 WHERE T1.'User' = @CURRENTUSER |
Save the macro and the page.
The @currentUser variable can be combined with other variables within the same query and successfully used in more complex SQL queries.
Use case with several variablesYou have a table with the list of people (user names) responsible for publishing documentation pages.
Solution
|
To learn more about the @pageTitle variable, please visit the corresponding page.