Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 163701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:36:48+00:00 2026-05-11T11:36:48+00:00

Since I struggled a bit with this one and couldn’t find a good online

  • 0

Since I struggled a bit with this one and couldn’t find a good online source with simple steps, here it is.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T11:36:48+00:00Added an answer on May 11, 2026 at 11:36 am
    1. Download ODBCng and install it
    2. Set up a System DNS that connects to your PostgreSQL server. I named mine POSTGRESQL, which is used in the next couple of steps
    3. Run the following code in SSMS to create the linked server. This assumes a PostgreSQL instance on the local machine (hence localhost):

      EXEC master.dbo.sp_addlinkedserver @server = N’POSTGRESQL’, @srvproduct=N’Microsoft OLE DB Provider for ODBC Driver’, @provider=N’MSDASQL’, @datasrc=’PostgreSQL’, @location=’localhost’, @catalog=’public’

    4. Run the following code in SSMS to create a login mapping for the linked server:

      EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N’POSTGRESQL’, @useself=N’False’, @locallogin=NULL, @rmtuser=”, @rmtpassword=”

    5. Issue statements such as:

      SELECT * FROM OpenQuery(POSTGRESQL, ‘select my_column from my_table limit 10’)

    I had to use the double-quote

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I struggled asking that question but here it is. I am using source control
I have struggled with this since day 1. It probably doesn't help that I've
Here is a problem I've struggled with ever since I first started learning object-oriented
Since I have no errors I don't know if this is the right place
I've always struggled with RegEx so forgive me if this may seem like an
EDIT 2009-Nov-04 OK, so it's been a little while since I first posted this
Since i won't be able to post an image here's the link to it
Since Java char is 16 bit long, I am wondering how can it represent
I run into design choices like this often and struggle a bit; I'm looking
I have struggled with this issue for several weeks. I have Googled it and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.