-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oracle生成的表,有双引号,在plsql dev里面直接打开表,提示找不到表 #6
Comments
不加双引号使用,其实是转成大写执行。 声明 FreeSql 的时候有一个选项: |
哦小写貌似也不行,这个选项是针对 pgsql 加的,看来 oracle 下还是不适合加双引号 |
一类人:加双引号能保留表名、字段名的原型(大小写混用)。 刚才去掉双引号,运行单元测试时候出现的错误: 1、自增序列名也找不见了,由于之前是加双引号的; |
声明 FreeSql 的时候增加了一个选项: |
后来我想到了一个更好的解决办法 这样迁移后就是大写了,完美解决你的问题。 |
oracle生成的表,有双引号,在plsql dev里面直接打开表,提示找不到表,最好能把双引号去掉,不然用plsql dev比较麻烦
internal override string QuoteSqlName(string name) => $"{name.Trim('"')}";
The text was updated successfully, but these errors were encountered: