You can use Batch request to get webID and get value etc....
Aaron Rosenthal wrote great blog posts.
You can start from checking these blog posts.
1 of 1 people found this helpful
There is no explicit function to do that. Please also refer to the PI Web API reference
If you want still want to use PI Web API for it, you would have to go the way (see Kenji) of PI Web API: Getting multiple attributes with batch requests
I suggest you are referring to the PI AF Database. This database is stored in your SQL Server and called PIFD database.
What other database would you like to insert the values into? Can you please explain the use case for that?
Attributes if they are not static are references to results of calculations of PI Points or PI Points themselves. Therefore exporting the PIFD database would not bring these along.