However, this won't work. You can't use RESTORE at the global level to get at a function's data; this code throws an error.