sctipr for db