Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. SELECT <columns>
  2. FROM [schema].[table] t1 INNER JOIN
  3. [databaseName].[schema].[table] t2 ON <condition>
  4.  
  5. CREATE SYNONYM [schema].[synonymName] FOR [databaseName].[schema].[table]
  6.  
  7. SELECT <columns>
  8. FROM [schema].[table] t1 INNER JOIN
  9. [schema].[synonymName] t2 ON <condition>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement