HP Vertica
Menu
Home
Palukuru
SQL Server
SSIS
SSRS
HP Vertica
Devalayalu
Recipes
Telugu Stories
Wednesday, 16 April 2014
Set Default Search Path
Home
SSIS
SQL Server
Devalayalu
Palukuru
Telugu Stories
Visiting Places
Using alter command we can set the user default search path.
Syntax:
ALTER USER <User Name> SEARCH_PATH <Schema Name>, "$user", public;
Example:
ALTER USER sample_user SEARCH_PATH test_schema, "$user", public;
See also:
User creation
Grant usage on schema public
Create Schema
Grant usage privileges on a schema to the user
Grant all privileges on a schema to the user
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment