How can I insert multiple records with a single INSERT statement in Sybase ASE
Your first Sybase doc link is ASA not ASE documentation.
In ASE you can insert multiple rows only with insert - select statement.
How to do multiple inserts into sybase from c# at once
I figured out there is no need for ; or GO. Thanks a lot for the input
Insert multiple rows WITHOUT repeating the INSERT INTO ... part of the statement?
INSERT INTO dbo.MyTable (ID, Name)
SELECT 123, 'Timmy'
UNION ALL
SELECT 124, 'Jonny'
UNION ALL
SELECT 125, 'Sally'
For SQL Server 2008, can do it in one VALUES clause exactly as per the statement in your question (you just need to add a comma to separate each values statement)...
SQL How could i add MULTIPLE DATA from an if not exist?
Is this what you want?
insert into #TESTINT (Cre_Numero)
select a.Cre_Numero
from ABCOTIZA a
where a.Cot_NomArr <> 'Pago';
Related Topics
How to Make a Column Invisible in an Ssrs Matrix
Local Collection Types Not Allowed in SQL Statements
Hive - How to Further Optimize a Hiveql Query
How to Get a Value Using SQL in Delphi and Setting the Value to a Variable
SQL Server Copying Tables from One Database to Another
SQL Selecting Dates with Maximum Sale for Each Department
Count Distinct Over Partition by SQL
Hebrew Encoding in SQL Server2005
Listagg Query "Ora-00937: Not a Single-Group Group Function"
Oracle Equivalent of Rowlock, Updlock, Readpast Query Hints
Oracle as Keyword and Subqueries
Time Based Priority in Active Record Query
Display SQL Custom Text from Table Column Result
What Is the Correct Syntax for Using Database.Executesqlcommand with Parameters
Select Columns from One Table Based on the Column Names from Another Table