5> USE Northwind; 6> DECLARE @db AS NVARCHAR(258); 7> SET @db = QUOTENAME(N'pubs'); 8> EXEC(N'USE ' + @db + N' SELECT DB_NAME();'); 9> 10> GO