惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
V
Vulnerabilities – Threatpost
L
LangChain Blog
Stack Overflow Blog
Stack Overflow Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
云风的 BLOG
云风的 BLOG
C
Cisco Blogs
V
Visual Studio Blog
L
Lohrmann on Cybersecurity
Latest news
Latest news
S
Securelist
The Last Watchdog
The Last Watchdog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
The Register - Security
The Register - Security
Webroot Blog
Webroot Blog
The Cloudflare Blog
S
Secure Thoughts
Y
Y Combinator Blog
aimingoo的专栏
aimingoo的专栏
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
N
News and Events Feed by Topic
S
Security Affairs
Attack and Defense Labs
Attack and Defense Labs
Microsoft Azure Blog
Microsoft Azure Blog
T
Tailwind CSS Blog
V2EX - 技术
V2EX - 技术
GbyAI
GbyAI
L
LINUX DO - 热门话题
PCI Perspectives
PCI Perspectives
Schneier on Security
Schneier on Security
V
V2EX
K
Kaspersky official blog
Hugging Face - Blog
Hugging Face - Blog
AWS News Blog
AWS News Blog
T
The Exploit Database - CXSecurity.com
C
CERT Recently Published Vulnerability Notes
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Proofpoint News Feed
T
Threatpost
WordPress大学
WordPress大学
SecWiki News
SecWiki News
B
Blog RSS Feed
Blog — PlanetScale
Blog — PlanetScale
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
A
Arctic Wolf
酷 壳 – CoolShell
酷 壳 – CoolShell
W
WeLiveSecurity
Jina AI
Jina AI
D
Darknet – Hacking Tools, Hacker News & Cyber Security

博客园 - ada

禁止迅雷极速版被强制性升级成迅雷X的方法 解决win系统无法安装.NET Framework 4.0 4.6 原因是HRESULT0xc8000222 Frp内网穿透利器一键安装脚本及设置教程 Centos7下修改固定IP Filezilla server配置FTP服务器中的各种问题与解决方法 WIN10家庭版的升级到企业版 Sql 记录死锁 N2N windows下编译安装文件 WinForm程序执行JS代码的多种方法以及使用WebBrowser与JS交互 利用WMITool解决Windows10 浏览器主页被hao123劫持问题 通过sqlserver日志恢复误删除的数据 win7启动时怎么自动进入桌面 解决win10系统无法安装.NET Framework 3.5 SSH反向连接及Autossh win7访问局域网总提示用户名密码错误解决方案 如果你的Windows无法连接L2TP协议的VPN,809错误 - ada Asterisk 11 chan_sip.c: Failed to authenticate device 看不到IP的问题 用五分钟重温委托,匿名方法,Lambda,泛型委托,表达式树 利用iptables防止ssh暴力破解和控制网速
PowerDesigner 缺省值 引号 问题
ada · 2017-05-16 · via 博客园 - ada

在使用PowerDesigner做为MySQL数据库建模的时候,总是有这样的问题,例如我需要一个字段 createTime 类型是 Timestamp,要求这个字段默认值为系统当前时间,于是我给这个字段指定了一个默认值为 CURRENT_TIMESTAMP。 但是当生成建库脚本的时候,PowerDesinger 会自动给这个默认值加一对单引号,这对单引号会导致执行这个建库脚本的时候失败,正确的语法应该是: 

create_time timestamp not null default CURRENT_TIMESTAMP 

怎么不让PowerDesigner不自动加上这个单引号呢? 

选择菜单: Database -> Edit Current DBMS ... 打开如下对话框: