- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
SQL Express 2005 Connectivi ty to MAS Using Views
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-23-2009 11:23 AM
Im trying to create a view in SQL Express 2005 which resides on the same server as MAS using ODBC but I am having a tough time figuring out the syntax I should use to connect and query the data.
My goal is to create a view that extracts data from two very large tables in MAS, and updates my two tables in SQL every night so I can build reports from SQL instead of MAS. Im hoping to get some faster results.
Any Ideas or recommendations?
Solved! Go to Solution.
Re: SQL Express 2005 Connectivi ty to MAS Using Views
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-23-2009 02:49 PM
I would recommend creating a new DSN conection on the SQL server to be used just for this purpose. You can then hard code a company, username and password in the DSN. Once that tests correctly, add a linked server into SQL referencing only the DSN in the linked server setup. I will be glad to send you screenshots if you would like. If you will need to extract data from multiple companies, you would need to have multiple DSN's.I have a client with 60+ companies that does an extraction and for simplicity we built a stored procedure that create the linked server on the fly during the extraction, but that adds a level of complexity that you may not need.
Keep in mind two things. First you will need to write the extract in a stored procedure b/c views in SQL will not update tables. Second, SQL Express does not come with a scheduler, so you will need to use a additional method for scheduling the job to run.
I have used http://www.valesoftware.com/products-express-agent
Re: SQL Express 2005 Connectivi ty to MAS Using Views
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-23-2009 02:53 PM
Re: SQL Express 2005 Connectivi ty to MAS Using Views
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-24-2009 06:01 AM
Re: SQL Express 2005 Connectivi ty to MAS Using Views
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-24-2009 09:17 AM
Re: SQL Express 2005 Connectivi ty to MAS Using Views
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-24-2009 02:10 PM
Re: SQL Express 2005 Connectivi ty to MAS Using Views
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-24-2009 03:19 PM
That definitly helps. Let me run this and I will let you know the results. Thanks again for your help!
Re: SQL Express 2005 Connectivi ty to MAS Using Views
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-29-2009 09:13 AM
Re: SQL Express 2005 Connectivi ty to MAS Using Views
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-22-2009 09:16 AM
I am trying to set up a link to MAS 90 4.3 in SQL Server 2005. I have previously had a setup to an earlier version of MAS 90 which used the Prodidex 32 driver. Since I am creating a new DSN connection I need to make a new linked server in SQL. That is where my problem lies. I am not real familiar with SQL. I have created the linked server but when I execute my stored procedure, it just runs... I do not get an error but it never completes.
Do you have an example of the linked server setups? The following is the script I ran to create my link:
EXEC sp_addlinkedserver @server='MAS904x',
@provider='MSDASQL',
@srvproduct = 'MAS904x',@datasrc='MAS904x'
My System DSN name is MAS904x with the MAS 90 4.0 ODBC Driver.
Thanks for any help you can give.
Jackie
Re: SQL Express 2005 Connectivi ty to MAS Using Views
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-22-2009 09:26 AM
--------------------------------------------------------------------------
You have enemies? Good. That means you've stood up for something in your life.


