Click here to Skip to main content
15,890,186 members
Home / Discussions / Database
   

Database

 
GeneralRe: Select Statement in SQL Server Pin
KeithF13-Aug-13 23:20
KeithF13-Aug-13 23:20 
GeneralRe: Select Statement in SQL Server Pin
Richard Deeming14-Aug-13 1:54
mveRichard Deeming14-Aug-13 1:54 
GeneralRe: Select Statement in SQL Server Pin
KeithF14-Aug-13 2:01
KeithF14-Aug-13 2:01 
QuestionConnecting to a Database in SQL Server 2008R2 Express Pin
Bram van Kampen13-Aug-13 14:41
Bram van Kampen13-Aug-13 14:41 
AnswerRe: Connecting to a Database in SQL Server 2008R2 Express Pin
PIEBALDconsult13-Aug-13 16:24
mvePIEBALDconsult13-Aug-13 16:24 
AnswerRe: Connecting to a Database in SQL Server 2008R2 Express Pin
Richard MacCutchan13-Aug-13 21:13
mveRichard MacCutchan13-Aug-13 21:13 
QuestionHow to work with databases Pin
Patrick Skelton13-Aug-13 6:26
Patrick Skelton13-Aug-13 6:26 
AnswerRe: How to work with databases Pin
Richard Deeming13-Aug-13 8:11
mveRichard Deeming13-Aug-13 8:11 
Patrick Skelton wrote:
it's easy to create a new database in Visual Studio, but how do I then get this onto my web hosting server?

That depends on your hosting company. The obvious options would be:
  • Backup your local copy of the database, copy the files to the server, and restore;
  • Use the "Generate Scripts" option to create a SQL script which you can run on the server to create the database;
  • If the host supports it, use Web Deploy[^];


Patrick Skelton wrote:
How do I make sure I can repeat this process if need be?

If you're overwriting the remote copy of the database, it's simply a case of repeating the initial deployment. If you just want to deploy structural changes, you'll need to create the SQL scripts to make the changes on the server.

Patrick Skelton wrote:
Can I create a new database with the same schema as an existing one?

Schemas are local to the database. Two schemas in different databases with the same name are not connected in any way.

Patrick Skelton wrote:
s there a recognised way to set up the tables and relationships used by the security classes built into .NET?

If you're using the SQL providers, then the ASP.NET SQL Server Registration Tool[^] is the way to go. However, these providers are quite old; you might prefer to look at the newer "Universal" providers[^].


As for your broader question, I presume you've looked at the SQL documentation on Technet[^]?



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: How to work with databases Pin
Patrick Skelton13-Aug-13 22:19
Patrick Skelton13-Aug-13 22:19 
AnswerRe: How to work with databases Pin
jschell13-Aug-13 8:57
jschell13-Aug-13 8:57 
GeneralRe: How to work with databases Pin
Patrick Skelton13-Aug-13 22:16
Patrick Skelton13-Aug-13 22:16 
AnswerRe: How to work with databases Pin
Mycroft Holmes13-Aug-13 12:59
professionalMycroft Holmes13-Aug-13 12:59 
QuestionStored Procedures Pin
Mahdi_kishislan12-Aug-13 2:07
Mahdi_kishislan12-Aug-13 2:07 
AnswerRe: Stored Procedures Pin
David Mujica12-Aug-13 2:38
David Mujica12-Aug-13 2:38 
GeneralRe: Stored Procedures Pin
Mahdi_kishislan12-Aug-13 2:51
Mahdi_kishislan12-Aug-13 2:51 
GeneralRe: Stored Procedures Pin
David Mujica12-Aug-13 7:19
David Mujica12-Aug-13 7:19 
GeneralRe: Stored Procedures Pin
Mahdi_kishislan12-Aug-13 21:18
Mahdi_kishislan12-Aug-13 21:18 
GeneralRe: Stored Procedures Pin
Mahdi_kishislan16-Aug-13 21:17
Mahdi_kishislan16-Aug-13 21:17 
GeneralRe: Stored Procedures Pin
Eddy Vluggen12-Aug-13 8:13
professionalEddy Vluggen12-Aug-13 8:13 
GeneralDesign Pin
David Mujica12-Aug-13 9:27
David Mujica12-Aug-13 9:27 
AnswerRe: Stored Procedures Pin
Corporal Agarn12-Aug-13 3:08
professionalCorporal Agarn12-Aug-13 3:08 
AnswerRe: Stored Procedures Pin
Anudeep Jaiswal - MCA7-Nov-13 16:52
Anudeep Jaiswal - MCA7-Nov-13 16:52 
QuestionStart SQl Server Agent Pin
Anjani Rajdev10-Aug-13 9:54
Anjani Rajdev10-Aug-13 9:54 
AnswerRe: Start SQl Server Agent Pin
Mycroft Holmes10-Aug-13 13:12
professionalMycroft Holmes10-Aug-13 13:12 
QuestionFirebird - how to create a view with select command to external data source? Pin
Christoph19729-Aug-13 9:53
Christoph19729-Aug-13 9:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.