Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
2480aa3e
"src/vscode:/vscode.git/clone" did not exist on "b4944cccfdee538f079ef4c8a3bb2575ffe8f468"
Commit
2480aa3e
authored
May 22, 2019
by
季圣华
Browse files
更新sql,解决函数创建的bug
parent
e2be094c
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/jsh_erp(第一次建库请使用这个).sql
View file @
2480aa3e
...
@@ -1991,7 +1991,7 @@ INSERT INTO `tbl_sequence` VALUES ('depot_number_seq', '1', '999999999999999999'
...
@@ -1991,7 +1991,7 @@ INSERT INTO `tbl_sequence` VALUES ('depot_number_seq', '1', '999999999999999999'
-- ----------------------------
-- ----------------------------
DROP
FUNCTION
IF
EXISTS
`_nextval`
;
DROP
FUNCTION
IF
EXISTS
`_nextval`
;
DELIMITER
;;
DELIMITER
;;
CREATE
DEFINER
=
`root`
@
`%`
FUNCTION
`_nextval`
(
name
varchar
(
50
))
RETURNS
mediumtext
CHARSET
utf8
CREATE
FUNCTION
`_nextval`
(
name
varchar
(
50
))
RETURNS
mediumtext
CHARSET
utf8
begin
begin
declare
_cur
bigint
;
declare
_cur
bigint
;
declare
_maxvalue
bigint
;
-- 接收最大值
declare
_maxvalue
bigint
;
-- 接收最大值
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment