Search
 
SCRIPT & CODE EXAMPLE
 

SQL

like in openquery

DECLARE @name varchar(40), @SQL NVARCHAR(MAX)
SET @name = 'Bulbul';
SET @SQL = 'SELECT * FROM OPENQUERY(LINKSERVER, ''SELECT * FROM CONTACT WHERE FIRSTNAM LIKE ''''%' +@name+ '%'''''')';
EXEC sp_executesql @SQL;
Comment

PREVIOUS NEXT
Code Example
Sql :: sql how to display two atributes as one in sql 
Sql :: liquibase create table example 
Sql :: pgsql sum switch case 
Sql :: kannst du deine finger trainieren 
Sql :: PL-SQL: mm-dd for subqueries and different columns 
Sql :: transaction in java mysql 
Sql :: mysql convert charset 
Sql :: how to check table in postgresql from terminal 
Sql :: list of schema with sizes (relative and absolute) in a PostgreSQL database 
Sql :: oracle APEX elapsed time 
Sql :: how to make oppointment table in database 
Sql :: create query in where clasue 
Sql :: sql cursor example multiple columns 
Sql :: como hacer una consulta de un registro que no esta en una tabla en mysql 
Sql :: lesser than or equal to symbol in postgres 
Sql :: USING THE NOT CONDITION IN SQL 
Sql :: how to escape single quotes in SQL 
Sql :: add alternate add column sql 
Sql :: write sql query to show the details start from digit 
Sql :: sql alchemy get last n elements 
Sql :: mysql edit trigger 
Sql :: sql query for getting details by id 
Sql :: azure sql-datenbank 
Sql :: SQL ANY and ALL with Comparison Operators 
Sql :: create dabase psql 
Sql :: dbms transaction tutorialspoint 
Sql :: edit shchima table in sql 
Sql :: normalization in database 2nd normal form 
Sql :: ksqldb limit pull query ksql kafka 
Sql :: sql queries for interview 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =