Is there an efficient way to check if a series exists in a database and then if it doesn't have eviews look in a different database?
if "series" exists in db1 then fetch it
if not fetch from db2
something like that?
Check if series exists in database
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13317
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Check if series exists in database
Only with using the query command
Follow us on Twitter @IHSEViews
Re: Check if series exists in database
That actually helped a lot, thanks gareth. I was able to use @wquery to achieve what I needed. This is unrelated, but when you are using logmsg to post messages, is there anyway to force them all into one line. For example
logmsg Hi
logmsg my
logmsg name
logmsg is
logmsg Fred
to display as
"Hi my name is Fred" opposed to
Hi
my
name
is
Fred
logmsg Hi
logmsg my
logmsg name
logmsg is
logmsg Fred
to display as
"Hi my name is Fred" opposed to
Hi
my
name
is
Fred
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13317
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Check if series exists in database
Only by putting them into one string then sending that one string to logmsg
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 37 guests