Click here to Skip to main content
15,914,371 members
Home / Discussions / Database
   

Database

 
GeneralRe: Dataset not saving the changes Pin
Irfan Faruki3-Jan-07 22:01
Irfan Faruki3-Jan-07 22:01 
QuestionBulk copy on Sql mobile 2005 Pin
Filip Landr2-Jan-07 21:14
Filip Landr2-Jan-07 21:14 
QuestionSQL Query not work Pin
jaganil2-Jan-07 21:12
jaganil2-Jan-07 21:12 
AnswerRe: SQL Query not work Pin
Elina Blank3-Jan-07 3:32
sitebuilderElina Blank3-Jan-07 3:32 
AnswerRe: SQL Query not work Pin
ChandraRam3-Jan-07 23:16
ChandraRam3-Jan-07 23:16 
QuestionMs-Sql data optimization Pin
vijaymuthu2-Jan-07 18:59
vijaymuthu2-Jan-07 18:59 
AnswerRe: Ms-Sql data optimization Pin
Pete O'Hanlon2-Jan-07 22:27
mvePete O'Hanlon2-Jan-07 22:27 
QuestionSet default database and log locations in SQL Server Management Studio Express Pin
kani982-Jan-07 13:11
kani982-Jan-07 13:11 
I have used the SQL Server Management Studio Express to set the default database and log file locations to C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data. I then use this string to try to create a database "If Not Exists(Select * From sys.databases Where Name ='DB001') CREATE DATABASE BD001 ON PRIMARY (NAME = DB001, FILENAME = 'DB001.mdf', SIZE = 2MB, MAXSIZE = 2GB, FILEGROWTH = 10%) LOG ON (NAME = DB001_Log, FILENAME = 'DB001.ldf', SIZE = 1MB, MAXSIZE = 5MB, FILEGROWTH = 10%)". However, I get the following exception: "CREATE DATABASE failed. Some file names listed could not be created. Check related errors." If I specify the entire path in the create string, then I can create the database without any problems. The problem I have is that when I deploy the application, I won't know the actual database path. I was under the impression that if I set the default database and log file locations using SQL Server Management Studio Express, then I don't need to specify the path in my create database string. Any help or explanation would be appreciated, thanks.
QuestionScript/tool to update schema of my database when the latest_schema script is provided Pin
PrashantJ2-Jan-07 5:10
PrashantJ2-Jan-07 5:10 
QuestionRegarding dataset Pin
Member 22045442-Jan-07 4:14
Member 22045442-Jan-07 4:14 
AnswerRe: Regarding dataset Pin
Pete O'Hanlon2-Jan-07 4:42
mvePete O'Hanlon2-Jan-07 4:42 
QuestionRetrieve Table names from Access database? Pin
kbalias2-Jan-07 1:19
kbalias2-Jan-07 1:19 
AnswerRe: Retrieve Table names from Access database? Pin
Paul Conrad2-Jan-07 7:34
professionalPaul Conrad2-Jan-07 7:34 
AnswerRe: Retrieve Table names from Access database? Pin
PIEBALDconsult3-Jan-07 10:49
mvePIEBALDconsult3-Jan-07 10:49 
QuestionDeploy StoredProcedures written in C#/.NET Pin
FreeCastle2-Jan-07 0:11
FreeCastle2-Jan-07 0:11 
AnswerRe: Deploy StoredProcedures written in C#/.NET Pin
Pete O'Hanlon2-Jan-07 4:47
mvePete O'Hanlon2-Jan-07 4:47 
GeneralRe: Deploy StoredProcedures written in C#/.NET Pin
FreeCastle2-Jan-07 5:43
FreeCastle2-Jan-07 5:43 
GeneralRe: Deploy StoredProcedures written in C#/.NET Pin
Pete O'Hanlon2-Jan-07 9:54
mvePete O'Hanlon2-Jan-07 9:54 
GeneralRe: Deploy StoredProcedures written in C#/.NET Pin
FreeCastle2-Jan-07 22:23
FreeCastle2-Jan-07 22:23 
GeneralRe: Deploy StoredProcedures written in C#/.NET Pin
Pete O'Hanlon2-Jan-07 22:54
mvePete O'Hanlon2-Jan-07 22:54 
GeneralRe: Deploy StoredProcedures written in C#/.NET Pin
FreeCastle5-Jan-07 9:11
FreeCastle5-Jan-07 9:11 
QuestionHow to create trigger Pin
Sasmi2-Jan-07 0:08
Sasmi2-Jan-07 0:08 
AnswerRe: How to create trigger Pin
Pete O'Hanlon2-Jan-07 2:25
mvePete O'Hanlon2-Jan-07 2:25 
QuestionPL-SQL Command. Pin
Tuwing.Sabado1-Jan-07 20:35
Tuwing.Sabado1-Jan-07 20:35 
AnswerRe: PL-SQL Command. Pin
PIEBALDconsult3-Jan-07 10:51
mvePIEBALDconsult3-Jan-07 10:51 

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.