python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Why is my SQL INSERT INTO statement going straight to error?
I am creating a login system but the INSERT INTO statement isn't working. I have used this code previously & it has worked perfectly, however when I run this it goes straight to "ERROR IN INS...
Ela
Votes: 0
Answers: 0
Db2 Multi Insert using LOOP
I am trying to write a loop basically to do bulk INSERTS for DB2 Z/OS.
After referring this article, I tried to use this:
BEGIN
DECLARE varcnt;
set varcnt int DEFAULT 0;
WHILE varcnt <...
arsm4
Votes: 0
Answers: 2
Select case if <0 then '0'
Looking for a bit of guidance here. I've got a query performing a balance calculation that is also being formatted for display on a letter we've got going out. I'm looking to display 0 if Total_Billab...
Daniel Eberhart
Votes: 0
Answers: 1
Is it possible to insert multiple rows in a table based on a select returning more than one row
Using Oracle SQL, I am trying to insert into table A based on select from table B, but I am not sure how to achieve this, since the select is returning more than one row.
INSERT INTO A
VALUES
(
SELECT...
cvlst
Votes: 0
Answers: 1