Click here to Skip to main content
15,892,965 members
Home / Discussions / Database
   

Database

 
QuestionSSRS - Export to CSV does not work Pin
Akila R12-Jan-09 1:16
Akila R12-Jan-09 1:16 
AnswerRe: SSRS - Export to CSV does not work Pin
Ben Fair13-Jan-09 11:07
Ben Fair13-Jan-09 11:07 
QuestionDrop Constraints in Oracle SQLPLUS Pin
M Riaz Bashir11-Jan-09 21:11
M Riaz Bashir11-Jan-09 21:11 
AnswerRe: Drop Constraints in Oracle SQLPLUS Pin
Wendelius12-Jan-09 2:31
mentorWendelius12-Jan-09 2:31 
QuestionReset autonumber (ID) in SQL Server Pin
Matjaz-xyz11-Jan-09 19:53
Matjaz-xyz11-Jan-09 19:53 
AnswerRe: Reset autonumber (ID) in SQL Server Pin
Matjaz-xyz11-Jan-09 20:31
Matjaz-xyz11-Jan-09 20:31 
Questionsql connection error Pin
staticv11-Jan-09 8:01
staticv11-Jan-09 8:01 
AnswerRe: sql connection error Pin
Wendelius11-Jan-09 10:28
mentorWendelius11-Jan-09 10:28 
At least one problem is that you should escape the backslashes, like:
connection->ConnectionString 
  = "Data Source=.\\SQLEXPRESS;"
  + "AttachDbFilename=C:\\Program Files\\Microsoft SQL Server\\MSSQL.1\\MSSQL\Data\\DCV_DB.mdf;"
  + "Integrated Security=True;Connect Timeout=30;User Instance=True";

Also check that the SQL Server (SQLEXPRESS) service is running in Windows services.

I got a bit confused about the different connection strings and the database location. Is it your intention that your database is running under the service all the time. If it is, you should use a connection string like in SQL Server authentication, with integrated security set to false and without user instance.

The need to optimize rises from a bad design.My articles[^]

GeneralRe: sql connection error Pin
staticv12-Jan-09 0:23
staticv12-Jan-09 0:23 
GeneralRe: sql connection error Pin
Wendelius12-Jan-09 3:36
mentorWendelius12-Jan-09 3:36 
AnswerRe: sql connection error Pin
Henry Minute11-Jan-09 10:35
Henry Minute11-Jan-09 10:35 
QuestionInstall SQL Server on Vista Pin
George_George11-Jan-09 2:41
George_George11-Jan-09 2:41 
AnswerRe: Install SQL Server on Vista Pin
Wendelius11-Jan-09 3:05
mentorWendelius11-Jan-09 3:05 
GeneralRe: Install SQL Server on Vista Pin
George_George12-Jan-09 0:21
George_George12-Jan-09 0:21 
GeneralRe: Install SQL Server on Vista Pin
Wendelius12-Jan-09 2:26
mentorWendelius12-Jan-09 2:26 
AnswerRe: Install SQL Server on Vista Pin
Colin Angus Mackay11-Jan-09 3:20
Colin Angus Mackay11-Jan-09 3:20 
GeneralRe: Install SQL Server on Vista Pin
George_George12-Jan-09 0:24
George_George12-Jan-09 0:24 
AnswerRe: Install SQL Server on Vista Pin
Hamid_RT15-Jan-09 2:26
Hamid_RT15-Jan-09 2:26 
GeneralRe: Install SQL Server on Vista Pin
George_George15-Jan-09 18:36
George_George15-Jan-09 18:36 
Questionis there the sql syntex Limit in MS SQL? Pin
neodeaths11-Jan-09 0:44
neodeaths11-Jan-09 0:44 
AnswerRe: is there the sql syntex Limit in MS SQL? Pin
Reza Raad11-Jan-09 1:09
Reza Raad11-Jan-09 1:09 
Questionhow do i make a special sql statment filter? Pin
neodeaths10-Jan-09 22:55
neodeaths10-Jan-09 22:55 
AnswerRe: how do i make a special sql statment filter? [modified] Pin
Wendelius10-Jan-09 23:10
mentorWendelius10-Jan-09 23:10 
GeneralRe: how do i make a special sql statment filter? Pin
neodeaths11-Jan-09 0:43
neodeaths11-Jan-09 0:43 
QuestionWTL/ATL Pin
manosza10-Jan-09 21:21
manosza10-Jan-09 21:21 

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.