Search
 
SCRIPT & CODE EXAMPLE
 

SQL

how to update linked server in sql server

-- udpate 
UPDATE OPENQUERY (OracleSvr, 'SELECT name FROM joe.titles WHERE id = 101')   
SET name = 'ADifferentName';  
-- insert
INSERT OPENQUERY (OracleSvr, 'SELECT name FROM joe.titles')  
VALUES ('NewTitle');  
-- delete
DELETE OPENQUERY (OracleSvr, 'SELECT name FROM joe.titles WHERE name = ''NewTitle'''); 
Comment

PREVIOUS NEXT
Code Example
Sql :: dump db only triggers mysql 
Sql :: make selected text uppercase mssql 
Sql :: index postgres 
Sql :: sql max value in column 
Sql :: .env pgsql 
Sql :: max mysql 
Sql :: acual month sql 
Sql :: update multiple rows 
Sql :: oracle sql trigger select into 
Sql :: db count rows 
Sql :: view column type sql server 
Sql :: psql invalid command N 
Sql :: psql: error: FATAL: database "odoo" does not exist 
Sql :: find in set in postgresql 
Sql :: create table 
Sql :: sql select maximum column with other columns returned 
Sql :: sql is null and is not null 
Sql :: end mysql command 
Sql :: find max number in sql 
Sql :: postgres execute multiple sql file from command line 
Sql :: postgres backup of table 
Sql :: SQL UNIQUE Constraint 
Sql :: sql constraints 
Sql :: store date time in mysql 
Sql :: update all columns in one update 
Sql :: cardinality example sql 
Sql :: sqlite3.OperationalError: near "WHERE": syntax error 
Sql :: recourse record format 
Sql :: mysql case sensitive ? 
Sql :: like sql for second letter of the family name 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =