Search
 
SCRIPT & CODE EXAMPLE
 

SQL

update query in linked 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 :: How to create a comulative Sum column in mysql 
Sql :: sql alternative to max statement 
Sql :: get string between specific character sql 
Sql :: sql where clause 
Sql :: drop databse 
Sql :: sql select where id not exists in another table 
Sql :: longtext sql 
Sql :: sql not exists 
Sql :: database stuck at restoring state 
Sql :: take sql dump in to file 
Sql :: window function sql 
Sql :: select all columns except one sql 
Sql :: how to put 0 or 000 depending IDCustomer length in sql server 
Sql :: systems sql 
Sql :: insert into from 
Sql :: sql: extract day text from datetime value 
Sql :: mamp mysql password 
Sql :: postgres disable foreign keys 
Sql :: sql delete table 
Sql :: was not locked with LOCK TABLES 
Sql :: t sql return on letters only 
Sql :: how to output a different column name in mysql 
Sql :: xampp mysql problem detected port 3306 in use by 
Sql :: one to many sql 
Sql :: ubuntu mysql install and configure 
Sql :: is firebase nosql 
Sql :: how to join result table in mysql 
Sql :: postgres duplicate database in same server while other session is using source database 
Sql :: SQL Syntax of RIGHT JOIN 
Sql :: t-sql cheat sheet 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =