Default Database and Script Commands

I am working on a project where I need to extract data from a SQL database. I have the database configured as the default database for the project and am successfully getting data from there into a grid object. Now I need to bring specific cells of data from the same source into project tags and suspect using the scripting commands (DBCursorOpenSQL) are the best method for doing so.

Is there a method to reference the default project database in the scripting command?

Is there a specific method for referencing project tags in the script commands?