数据库名称指南 - 以数字开头? [英] Database Name guidelines - start with a number?

查看:487
本文介绍了数据库名称指南 - 以数字开头?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在搜索和阅读过去1/2小时的SQL数据库名称必须遵循标识符规则。 其中一条规则让我相信数据库名称不能以数字开头(0-9)  Microsoft
SQL标识符
- 所以我在想" 123456789 "不会工作。 
但它确实



数据库已成功创建:


创建SQL数据库

解决方案

比尔,


是的,您可以自由使用该数据库名称字符串值。在您输入无效值之前,错误会出现一个无效值列表。



I've been searching and reading for the past 1/2 hr around SQL database names must follow the identifiers rules.  One of those rules leads me to believe that the database name cannot start with a number (0-9) Microsoft SQL Identifiers - so I'm thinking "123456789" would not work.  But it does:

And the database is successfully created:

Created SQL database

解决方案

Hi Bill,

Yes, you are free to use that database name string value. Not until you enter an invalid value does an error present itself with a list of invalid values.


这篇关于数据库名称指南 - 以数字开头?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆