Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
At a quick glance I think I can find some issues with your SQL
statement:
* You should not specify column names after the "VIEW" (the ones
that appear between parentheses).
* Remove the quotes of the column names. IE, use AS iNID_Model
instead of AS 'iNID_Model'.
<<SNIP>>
On Wed, Oct 23, 2013 at 10:44 AM, Koester, Michael wrote:
<<SNIP>>
CREATE VIEW DEVLIB/V_InternetProfiles
(PROFILEID, iNID_Model, IS_Dynamic, Speed_Down, Speed_Up)
AS SELECT PROFILEID,
substr(profileid, 1, locate(' ', Profileid)) as "iNID_Model",
case when locate('RG_INET_VLAN = 800, ', "ATTRIBUTES") > 0
then 'FALSE'
when locate('RG_INET_VLAN = 600, ', "ATTRIBUTES") > 0
then 'TRUE'
else 'N/A'
end as "Is_Dynamic",
<<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.