[Solved] MS SQL connection

Discuss the database features
Post Reply
solecs
Posts: 12
Joined: Fri Feb 04, 2011 10:37 pm

[Solved] MS SQL connection

Post by solecs »

Hi there i am trying add a link to a MS SQL database table to a OOo base? We have made some in house search tools that look right at the MS SQL table, but that was with Access 2007 and a ODBC connection. I was wondering how to do it with OOo or if can even be done. I don't know how friendly MS SQL is with OOo.
Last edited by solecs on Tue Feb 08, 2011 12:15 am, edited 1 time in total.
OOo 3.3.0- Windows XP Pro
User avatar
Villeroy
Volunteer
Posts: 31345
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: MS SQL connection

Post by Villeroy »

File>New>Database...
[X] COnnect to existing db
Type: ODBC
Use the same ODBC name as in the other programs, register the database, save the database, add some queries if you like.

In Writer of Calc hit F4 and drag stuff from a table or query into the document.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
solecs
Posts: 12
Joined: Fri Feb 04, 2011 10:37 pm

Re: MS SQL connection

Post by solecs »

Great it worked. Thanks a lot. :)
OOo 3.3.0- Windows XP Pro
Post Reply