Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-08-02 : 08:59:55
|
| Srinivas writes "Hi!How do I create a database with a hyphen in the database name for eg 'abc-com' using a stored procedure. I get an error when i use the following statements inside a stored procedure. declare @DBName as varchar(50)set @DBName = "abc-com" CREATE DATABASE @DBNameThis doesn't work even if i use the exec command exec(" create database " + @DBName )thanks in advance.SrinivasSystem configuration;win 2000sql 2000" |
|
|
|
|
|