add sql Value/Scan functions