Click here to Skip to main content
15,891,033 members
Home / Discussions / Database
   

Database

 
AnswerRe: Procedure is using server resource but unmanaged how to managed that... Pin
Ashfield17-Apr-10 6:12
Ashfield17-Apr-10 6:12 
QuestionSort Results ignoring symbols like ! ? * " Pin
AlexeiXX316-Apr-10 16:14
AlexeiXX316-Apr-10 16:14 
AnswerRe: Sort Results ignoring symbols like ! ? * " [modified] Pin
Andy_L_J16-Apr-10 18:03
Andy_L_J16-Apr-10 18:03 
GeneralRe: Sort Results ignoring symbols like ! ? * " Pin
AlexeiXX316-Apr-10 18:35
AlexeiXX316-Apr-10 18:35 
GeneralRe: Sort Results ignoring symbols like ! ? * " Pin
Andy_L_J16-Apr-10 19:02
Andy_L_J16-Apr-10 19:02 
AnswerRe: Sort Results ignoring symbols like ! ? * " Pin
Eddy Vluggen17-Apr-10 0:37
professionalEddy Vluggen17-Apr-10 0:37 
Questionhow to read data from pdf file Pin
raghvendrapanda16-Apr-10 1:37
raghvendrapanda16-Apr-10 1:37 
QuestionProblem with attaching a copy of DB which is recieved from another server Pin
ArtemCh15-Apr-10 8:40
ArtemCh15-Apr-10 8:40 
Hi!

I need to move a database from one server to another.
So I have the server 'S1', the database 'DB1' which is located on the server 'S1' and the server 'S2'. I use MS SQL Server 2005 Express.

I carried out following actions:

1) executed stored procedure sp_detach_db 'DB1' on server 'S1'
2) copied files DB1.mdf and DB1Log.ldf from 'S1' to 'S2'
3) tried to execute the query on the server 'S2':
CREATE DATABASE DB1
ON (NAME = DB1_data, FILENAME = 'file_path\DB1.mdf')
LOG ON (NAME = DB1_log, FILENAME = 'file_path\DB1Log.ldf')
FOR ATTACH

and recieved the error: "Unable to open the physical file "file_path\DB1.mdf Operating system error 5".

When I executed the same query on 'S1' to attach DB1 again it was finished successfully...

Tell me please what is the source of the error? and how do I solve my problem.
AnswerRe: Problem with attaching a copy of DB which is recieved from another server Pin
ArtemCh15-Apr-10 9:07
ArtemCh15-Apr-10 9:07 
QuestionREADPAST SP Pin
Amr M. K.14-Apr-10 22:04
Amr M. K.14-Apr-10 22:04 
QuestionSystem.Security.SecurityException while accessing report Pin
nizamuddin73314-Apr-10 19:26
nizamuddin73314-Apr-10 19:26 
AnswerRe: System.Security.SecurityException while accessing report Pin
nizamuddin73314-Apr-10 23:21
nizamuddin73314-Apr-10 23:21 
QuestionIncorrect syntax near the keyword 'WITH' Pin
icanmakeiteasy14-Apr-10 19:06
icanmakeiteasy14-Apr-10 19:06 
JokeMessage Removed Pin
14-Apr-10 23:50
Michel Godfroid14-Apr-10 23:50 
GeneralRe: Incorrect syntax near the keyword 'WITH' Pin
David Skelly15-Apr-10 1:58
David Skelly15-Apr-10 1:58 
GeneralRe: Incorrect syntax near the keyword 'WITH' Pin
Michel Godfroid15-Apr-10 2:19
Michel Godfroid15-Apr-10 2:19 
AnswerRe: Incorrect syntax near the keyword 'WITH' Pin
WoutL15-Apr-10 2:20
WoutL15-Apr-10 2:20 
GeneralRe: Incorrect syntax near the keyword 'WITH' Pin
icanmakeiteasy9-May-10 20:35
icanmakeiteasy9-May-10 20:35 
QuestionIs it possible to specify multiple text data filters in SQL profiler 2005? Pin
Jon_Boy14-Apr-10 6:36
Jon_Boy14-Apr-10 6:36 
Questionhow to enter the records from one table to another table at the same time Pin
developerit13-Apr-10 22:51
developerit13-Apr-10 22:51 
AnswerRe: how to enter the records from one table to another table at the same time Pin
Dylan Morley14-Apr-10 0:23
Dylan Morley14-Apr-10 0:23 
AnswerRe: how to enter the records from one table to another table at the same time Pin
Mycroft Holmes14-Apr-10 2:09
professionalMycroft Holmes14-Apr-10 2:09 
AnswerRe: how to enter the records from one table to another table at the same time Pin
Sandesh M Patil14-Apr-10 3:24
Sandesh M Patil14-Apr-10 3:24 
GeneralRe: how to enter the records from one table to another table at the same time Pin
Jon_Boy14-Apr-10 6:54
Jon_Boy14-Apr-10 6:54 
AnswerRe: how to enter the records from one table to another table at the same time Pin
dan!sh 14-Apr-10 7:42
professional dan!sh 14-Apr-10 7:42 

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.