【发布时间】:2015-01-03 09:51:34
【问题描述】:
样本:
create table test1(test1Code timeuuid, primary key(test1Code));
create table test2(test2Code timeuuid, primary key(test2Code));
insert into test1(test1Code) values (now());
insert into test2(test2Code) values (now());
这两个表的 timeuuid 值不同。
我希望两个表都插入相同的 now() 值;
我可以将值存储在变量中并在我的语句中使用它吗?
或者我需要使用不同的方法。
【问题讨论】: