Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Third Party Tools

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 10-29-2012, 02:39 PM
raghuk raghuk is online now
Registered User
Join Date: 02-10-2012
Posts: 11
Set temp macro from result of Run SQL action


I have a need to set a local variable macro based on if the database exists or not.

I have the following query in "Run SQL" action.

if db_id('%CurrentDatabaseName%') is null
-- ???? STEP TO set local variable which effectively says 'NO DB'

How can I achieve this?

Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 01:21 PM.

Copyright 1999-2019 Kinook Software, Inc.