日期:2014-05-17 浏览次数:20822 次
Insert into T_BD_GROUPHEADER问题在哪?
(GH_ID,
GH_Name,
GH_TYPE,
GH_LOGO,
GH_SUMMARY,
GH_NOTICE_RTF,
GH_OP_ID_CREATOR,
GH_CREATOR_NAME)
Values
(SEQ_QQGROUP_ID.Nextval,
'江正(1001286) 创建的讨论组',
'2',
NULL,
'江正(1001286) 创建于 21月-01日',
NULL,
'828',
'江正');
DECLARE
V_SEQID NUMBER;
BEGIN
SELECT SEQ_QQGROUP_ID.CURRVAL INTO V_SEQID FROM dual;
END;
INSERT INTO T_BD_GROUPLINE
(OP_ID, GH_ID, GL_OP_ALIAS)
Select '828', V_SEQID, '江正(1001286)'
FROM DUAL
UNION
Select '1474', SEQ_QQGROUP_ID.CURRVAL, '陈维(1002392)'
FROM DUAL
UNION
Select '466', SEQ_QQGROUP_ID.CURRVAL, '冯敏(1000609)'
FROM DUAL
UNION
Select '1000', SEQ_QQGROUP_ID.CURRVAL, '郭珊珊(1001705)'
FROM DUAL
UNION
Select '103', SEQ_QQGROUP_ID.CURRVAL, '齐湘波(1000119)'
FROM DUAL
UNION
Select '13', SEQ_QQGROUP_ID.CURRVAL, '张莉(1000013)' FROM DUAL
DECLARE
V_SEQID NUMBER;
BEGIN
SELECT SEQ_QQGROUP_ID.CURRVAL INTO V_SEQID FROM dual;
INSERT INTO T_BD_GROUPLINE
(OP_ID, GH_ID, GL_OP_ALIAS)
Select '828', V_SEQID, '江正(1001286)'
FROM DUAL
UNION
Select '1474', V_SEQID, '陈维(1002392)'