Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, February 19, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Data & Imports Forums - T-SQL & Queries
Forum to discuss general T-SQL questions and help with queries related to SalesLogix data. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to T-SQL & Queries | New ThreadView:  Search:  
 Author  Thread: Creating a SQL View which calls a non-sql database/table
Mike Boysen
Posts: 53
 
Creating a SQL View which calls a non-sql database/tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Apr 07 4:09 PM
fiogf49gjkf0d
I'm trying to whip something simple together that will let me display non-SQL Server data inside SalesLogix (v7) using a SQL View. Can anyone share your experience? RJ, I'm not buying a utility
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Creating a SQL View which calls a non-sql database/tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Apr 07 4:23 PM
fiogf49gjkf0d
Hi Mike,

What kind of data are we talking about here? What's the details of your scenario?

-Ryan
[Reply][Quote]
Mike Boysen
Posts: 53
 
Re: Creating a SQL View which calls a non-sql database/tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Apr 07 4:30 PM
fiogf49gjkf0d
Well, we need to demo a scenario where data can be viewed coming from an AS400 system. However, if I can just figure out how to pull data from an ODBC source I'd be doing well. So far I can't even pull data from an Excel spreadsheet.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Creating a SQL View which calls a non-sql database/tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Apr 07 4:39 PM
fiogf49gjkf0d
Look into linked servers for SQL. It allows you to create a linked server for some other OLEDB data source in SQL. You can then use that linked server for queries etc in SQL statements.

You create linked servers using the sp_addlinkedserver proc, where you specify the OLEDB provider to use and the other conection details. Once you've added the linked server you can open queries from it using OPENQUERY and other means built into SQL.

A google seach will return some useful results: http://www.google.com/search?hl=en&q=sql+linked+server

-Ryan

[Reply][Quote]
Walter Shpuntoff
Posts: 167
 
Re: Creating a SQL View which calls a non-sql database/tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Apr 07 6:25 AM
fiogf49gjkf0d
There is some IBM software you can install on your machine (the name escapes me, but I want to say client express for some reason). It gives you terminal emulation and odbc access. Once you have the odbc drivers, then you just need somebody to guide you through the data structures.

I've tried the link server route, and there must me some magic dust that was required because I never got it to work. I DID notice that there were lots of 3rd party utilities to make it easier... hmmm... maybe there is a connection there.

BTW... both the AS400's I dealt with had cryptic table and field names (each no more than 8 characters - a legacy from the 70's) so you will most likely need help from IT.

have fun...

ws
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Creating a SQL View which calls a non-sql database/tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Apr 07 9:00 PM
fiogf49gjkf0d
Client Access is the name of the IBM term emulation software (but it was a few years ago - so may have been superseded).

I used the ODBC drivers that came with it to get data out of the AS/400 and into Access - seemed to work OK (I ended up using pass-thru queries for speed). Don't expect the implementation of SQL to give you everything that SQL Server gives you though ...
[Reply][Quote]
Mike Boysen
Posts: 53
 
Re: Creating a SQL View which calls a non-sql database/tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Apr 07 9:30 AM
fiogf49gjkf0d
I'm not having any problem with linked servers. ie, I can link an excel spreadsheet directly. However, I'm having a great deal of difficulty create a linked server using the "Microsoft OLEDB Provider for ODBC Drivers". I'm still search for a good example in this area.

The first article in the google search you provided had an excellent example of the former.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 2/19/2025 4:29:41 PM