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

Database

 
QuestionGenerate complex table with SQL for Crystal Report Pin
Ryo-kun01012-Jan-09 22:08
Ryo-kun01012-Jan-09 22:08 
AnswerRe: Generate complex table with SQL for Crystal Report Pin
Wendelius2-Jan-09 22:15
mentorWendelius2-Jan-09 22:15 
QuestionRe: Generate complex table with SQL for Crystal Report Pin
Ryo-kun01013-Jan-09 11:34
Ryo-kun01013-Jan-09 11:34 
AnswerRe: Generate complex table with SQL for Crystal Report Pin
Wendelius3-Jan-09 22:13
mentorWendelius3-Jan-09 22:13 
Questionhow to catch unhandled errors in sql server 2005 Pin
Amit Sk Sharma2-Jan-09 19:56
Amit Sk Sharma2-Jan-09 19:56 
AnswerRe: how to catch unhandled errors in sql server 2005 Pin
Wendelius2-Jan-09 22:11
mentorWendelius2-Jan-09 22:11 
Questionsql & attach Pin
reza assar2-Jan-09 7:48
reza assar2-Jan-09 7:48 
AnswerRe: sql & attach Pin
Wendelius2-Jan-09 8:03
mentorWendelius2-Jan-09 8:03 
reza assar wrote:
to attach an old database to the sqlserver but the database files (like *.mdf and *.ldf and etc) have to be in the previous folder


They don't have to be in the original folder, but if you're moving the log file to a new location, I think you must use ATTACH_REBUILD_LOG.

From CREATE DATABASE[^]: "FOR ATTACH: Specifies that the database is created by attaching an existing set of operating system files. There must be a <filespec> entry that specifies the primary file. The only other <filespec> entries required are those for any files that have a different path from when the database was first created or last attached"

See also: How to: Move a Database Using Detach and Attach[^]

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

AnswerRe: sql & attach Pin
Guffa4-Jan-09 19:47
Guffa4-Jan-09 19:47 
Questionnew component and release problem Pin
reza assar2-Jan-09 7:38
reza assar2-Jan-09 7:38 
AnswerRe: new component and release problem Pin
Wendelius2-Jan-09 7:48
mentorWendelius2-Jan-09 7:48 
QuestionNeed A Back Script for selected database of SQL 2000. Pin
Vivek Chopade2-Jan-09 3:03
Vivek Chopade2-Jan-09 3:03 
AnswerRe: Need A Back Script for selected database of SQL 2000. Pin
Wendelius2-Jan-09 4:38
mentorWendelius2-Jan-09 4:38 
Questionmedia saving in sql table Pin
Cruel Handsome2-Jan-09 0:46
Cruel Handsome2-Jan-09 0:46 
AnswerRe: media saving in sql table Pin
Wendelius2-Jan-09 4:36
mentorWendelius2-Jan-09 4:36 
Questiondatabase connectivity in vb .net using Acces Pin
Umesh_861-Jan-09 23:01
Umesh_861-Jan-09 23:01 
AnswerRe: database connectivity in vb .net using Acces Pin
Mycroft Holmes2-Jan-09 0:01
professionalMycroft Holmes2-Jan-09 0:01 
AnswerRe: database connectivity in vb .net using Acces Pin
Vimalsoft(Pty) Ltd4-Jan-09 19:50
professionalVimalsoft(Pty) Ltd4-Jan-09 19:50 
Questionhow to solve this senario in sql Pin
prasadbuddhika1-Jan-09 15:44
prasadbuddhika1-Jan-09 15:44 
AnswerRe: how to solve this senario in sql Pin
PIEBALDconsult1-Jan-09 16:30
mvePIEBALDconsult1-Jan-09 16:30 
QuestionRemote SQL Server Database Connection Pin
VikashGohil31-Dec-08 20:28
VikashGohil31-Dec-08 20:28 
AnswerRe: Remote SQL Server Database Connection Pin
Wendelius1-Jan-09 3:55
mentorWendelius1-Jan-09 3:55 
QuestionQuestion about how to rearrangement the DB Ms Access? [modified] Pin
Mangore7531-Dec-08 0:53
Mangore7531-Dec-08 0:53 
AnswerRe: Question about how to rearrangement the DB Ms Access? Pin
Jon_Boy31-Dec-08 2:40
Jon_Boy31-Dec-08 2:40 
GeneralRe: Question about how to rearrangement the DB Ms Access? Pin
Mangore7531-Dec-08 4:55
Mangore7531-Dec-08 4:55 

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.