TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nitin Patil
NA
653
209.9k
How to change ASP.NET Web Form site default SQL Schema???
Aug 10 2015 2:53 AM
i'm using default
ASP.NET Web Form Site
in VS Express for Web. I have done changes in
Connection String
to access my SQL database. When i run Web Site it working fine and also Tables get created in my SQL database.
i.e dbo.mytable
Now
dbo
is my default (sometimes called Owner) SQL Schema. And all tables are creating under default schema. I want to
Override Schema
method in Web form site code. Which can change default schema to custom schema. e.g.
mySchema
. After changing this schema if i run the Web site then table should create under my defined schema.
i.e. mySchema.mytable
PN: I don't want to fire SQL query to change my schema. I want to create table under custom schema.
Reply
Answers (
0
)
Anyone Know?
Upload multiple images