开发者

How do I write an Microsoft Access SQL Query in C#?

开发者 https://www.devze.com 2023-02-09 13:26 出处:网络
I\'m trying to run this Microsoft Access query in C#, but it isn\'t working: Cre开发者_StackOverflow社区ate table Users (UserName Text(50) Primary Key, Password Text(50), IsLocked YESNO)

I'm trying to run this Microsoft Access query in C#, but it isn't working:

Cre开发者_StackOverflow社区ate table Users (UserName Text(50) Primary Key, Password Text(50), IsLocked YESNO)

I get a Syntax error in field definition error.

How do I write a Microsoft Access SQL Query in C#?


Try this:

Create Table [Users] ([UserName] Text(50) Primary Key, [Password] Text(50), [IsLocked] YESNO)
0

精彩评论

暂无评论...
验证码 换一张
取 消