Click here to Skip to main content
15,895,283 members
Home / Discussions / Database
   

Database

 
GeneralRe: Create backup of Database of SQL server from Client and server Pin
sunil goyalG28-Apr-09 0:46
sunil goyalG28-Apr-09 0:46 
GeneralRe: Create backup of Database of SQL server from Client and server Pin
scottgp28-Apr-09 1:03
professionalscottgp28-Apr-09 1:03 
GeneralRe: Create backup of Database of SQL server from Client and server Pin
sunil goyalG28-Apr-09 1:57
sunil goyalG28-Apr-09 1:57 
GeneralRe: Create backup of Database of SQL server from Client and server Pin
scottgp28-Apr-09 2:17
professionalscottgp28-Apr-09 2:17 
GeneralRe: Create backup of Database of SQL server from Client and server Pin
sunil goyalG28-Apr-09 2:47
sunil goyalG28-Apr-09 2:47 
GeneralRe: Create backup of Database of SQL server from Client and server Pin
scottgp28-Apr-09 3:16
professionalscottgp28-Apr-09 3:16 
QuestionDB with Dataset Pin
lost_in_code27-Apr-09 21:46
lost_in_code27-Apr-09 21:46 
AnswerRe: DB with Dataset Pin
SayreCC27-Apr-09 23:42
SayreCC27-Apr-09 23:42 
Questionconvert nonnumberic nvarchar to float Pin
AndieDu27-Apr-09 19:25
AndieDu27-Apr-09 19:25 
AnswerRe: convert nonnumberic nvarchar to float Pin
Ashfield27-Apr-09 20:53
Ashfield27-Apr-09 20:53 
GeneralRe: convert nonnumberic nvarchar to float Pin
AndieDu27-Apr-09 21:50
AndieDu27-Apr-09 21:50 
GeneralRe: convert nonnumberic nvarchar to float Pin
riced28-Apr-09 0:29
riced28-Apr-09 0:29 
GeneralRe: convert nonnumberic nvarchar to float Pin
AndieDu28-Apr-09 1:22
AndieDu28-Apr-09 1:22 
GeneralRe: convert nonnumberic nvarchar to float Pin
Ashfield28-Apr-09 1:34
Ashfield28-Apr-09 1:34 
GeneralRe: convert nonnumberic nvarchar to float Pin
AndieDu28-Apr-09 13:45
AndieDu28-Apr-09 13:45 
QuestionBest Way to Store File Paths & File Names Pin
Jammer27-Apr-09 10:50
Jammer27-Apr-09 10:50 
Hi All,

I'm making some schema changes to an SqlCe 3.5 database and have a question about the best method to store these types of values.

Currently the DB stores a path "C:\directory1\directory2\" and a file name "filename.ext" both in NTEXT fields.

This seems wrong and cumbersome but due to NVARCHAR being limited to 255 (and NTFS MAX_PATH being 260) it seems the best solution is to use three nvarchar fields.

NVARCHAR[3]   "C:\" 
NVARCHAR[255] "directory1\directory2\" 
NVARCHAR[255] "filename.ext"  


One thing I did notice was the "Edit Table Schema" dialog in C# Express allowed me to make an NVARCHAR[500] field and didn't throw any errors ... is the NVARCHAR character limit in 3.5 SP1 higher than 255? I can only find details on the data types for SqlCe 2000 ...

http://technet.microsoft.com/en-us/library/aa237918(SQL.80).aspx[^]

Cheers,


AnswerRe: Best Way to Store File Paths & File Names Pin
Mycroft Holmes27-Apr-09 18:56
professionalMycroft Holmes27-Apr-09 18:56 
QuestionAuto backup in sql server 2005 Pin
Jagz W27-Apr-09 6:53
professionalJagz W27-Apr-09 6:53 
AnswerMaintenance Plan Pin
David Mujica27-Apr-09 7:42
David Mujica27-Apr-09 7:42 
GeneralRe: Maintenance Plan Pin
Jagz W27-Apr-09 18:54
professionalJagz W27-Apr-09 18:54 
QuestionImport data from Oracle ti SQL 2005 Pin
reynaldosp27-Apr-09 5:18
reynaldosp27-Apr-09 5:18 
AnswerRe: Import data from Oracle ti SQL 2005 Pin
Mycroft Holmes27-Apr-09 19:03
professionalMycroft Holmes27-Apr-09 19:03 
QuestionSQL TABLE Pin
kibromg27-Apr-09 4:58
kibromg27-Apr-09 4:58 
AnswerRe: SQL TABLE Pin
Mycroft Holmes27-Apr-09 18:51
professionalMycroft Holmes27-Apr-09 18:51 
QuestionCrystal report Pin
hitesh.kalra26-Apr-09 22:01
hitesh.kalra26-Apr-09 22:01 

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.