Forum Replies Created

Viewing post 1 (of 2 total)

  • Reply To: DROP DATABASE with variable not possible?

    /*

    This is my approach to this case

    */

     

    DECLARE @DBname AS NVARCHAR(100)

    DECLARE @Drop AS NVARCHAR(100)

    DECLARE @Result AS NVARCHAR(100)

    SET @DBname = 'Your_DB_Name' -- Replcae 'Your_DB_Name' with the database name of your choice

    SET @DROP...

Viewing post 1 (of 2 total)