We are newcomers to SAS VA, and have a single Windows Server based SAS VA installation - SAS 9.4_M3 and VA Server 7.3.
Our database servers are MS SQL and I have successfully connected to the required database and tables using ODBC.
First record set is imported into LASR and queryable etc, but these SQL databases are bulk updated on a daily basis and so I need to now the steps involved in grabbing the newly updated data, preferably on a daily basis.
I can manually upload the tables each day, but this is not really what I'm looking for.
Any help or suggestions would be very much appreciated. If these involve 'work' at the SQL Server end then this is just as accessible to me as I have good SQL and developer availability.
Many thanks
Hi theGull,
We have a simillar structure in our company. what you need to do. is the following.
Step1: Using SAS Enterprise Guide establish a connection to you SQL server and start pulling the data to your sas serverver node or the hadoop structure.
Step 2: Open VA in your browser. In the Data Preparation tab. do the following:
---> create a new query.
---> drag drop the data from the libraray from the left side panel to the work area.
---> now right click the table, and select "add all columns".
---> then on the right hand side go and mention the output table name or the LASR table name.
---> Save the query and run it.
---> [How to schedule SOLUTION] on the top bar there is a clock sign. click it. Select daily option select the time in which you want it to happen and it will be scheduled.
hope it helps..
Hi theGull,
We have a simillar structure in our company. what you need to do. is the following.
Step1: Using SAS Enterprise Guide establish a connection to you SQL server and start pulling the data to your sas serverver node or the hadoop structure.
Step 2: Open VA in your browser. In the Data Preparation tab. do the following:
---> create a new query.
---> drag drop the data from the libraray from the left side panel to the work area.
---> now right click the table, and select "add all columns".
---> then on the right hand side go and mention the output table name or the LASR table name.
---> Save the query and run it.
---> [How to schedule SOLUTION] on the top bar there is a clock sign. click it. Select daily option select the time in which you want it to happen and it will be scheduled.
hope it helps..
i use enterprise guide to load tables daily..about 8 gig of data.
we do a complete clean and replace concept. so yes the 1 gig table i load taday is completely reloaded tomorrow plus any added records. some of our data is updated in ms sql table so simply doing an ADD of new records is not feasible for all our tables.
however, what was pointed out to me was and ADD feature in the data preparation tool on the va hub.
it somehow will only add new records, but i havent researched it.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.