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

Database

 
AnswerRe: MsAccess Query problem Pin
Mycroft Holmes10-Feb-10 23:36
professionalMycroft Holmes10-Feb-10 23:36 
QuestionProblem with Distinct and Order By when querying csv with .NET System::Data::OleDb::OleDbConnection [modified] Pin
T21029-Feb-10 22:40
T21029-Feb-10 22:40 
AnswerRe: Problem with Distinct and Order By when querying csv with .NET System::Data::OleDb::OleDbConnection Pin
dan!sh 10-Feb-10 2:57
professional dan!sh 10-Feb-10 2:57 
GeneralRe: Problem with Distinct and Order By when querying csv with .NET System::Data::OleDb::OleDbConnection Pin
T210210-Feb-10 12:43
T210210-Feb-10 12:43 
QuestionRestrict showdialog only to the parent window ? [modified] Pin
fracalifa9-Feb-10 21:27
fracalifa9-Feb-10 21:27 
AnswerRe: Restrict showdialog only to the parent window ? Pin
J4amieC9-Feb-10 21:45
J4amieC9-Feb-10 21:45 
GeneralRe: Restrict showdialog only to the parent window ? Pin
fracalifa9-Feb-10 21:48
fracalifa9-Feb-10 21:48 
QuestionDB Backup Sql query Pin
Sivaooty9-Feb-10 19:58
Sivaooty9-Feb-10 19:58 
Hi..
Im using following query for getting DB Backup But i got error

Pls help me.. thhis is correct for getting DB backup
else pls post some code DB backup & restore

Thanks in advance..

set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go

-- backup a database
ALTER PROCEDURE [dbo].[sp_BackupDatabase]
@databasename varchar(32),
@path varchar(256),
@filename varchar(64)AS
set nocount on
declare @sql varchar(4000)
select @sql ='BACKUP DATABASE ' + ltrim(rtrim( @databasename ))
select @sql = @sql +'TO DISK = ''' + ltrim(rtrim(@path)) + ltrim(rtrim(@filename)) + ''' '
select @sql = @sql +'WITH INIT'
--print @sql
execute ( @sql )
select 'Database successfully backed up!' [Result]
AnswerRe: DB Backup Sql query Pin
Md. Marufuzzaman10-Feb-10 3:54
professionalMd. Marufuzzaman10-Feb-10 3:54 
QuestionHelp with this SQl Logic without using UDF Pin
Vimalsoft(Pty) Ltd9-Feb-10 4:14
professionalVimalsoft(Pty) Ltd9-Feb-10 4:14 
AnswerRe: Help with this SQl Logic without using UDF Pin
Not Active9-Feb-10 5:52
mentorNot Active9-Feb-10 5:52 
GeneralRe: Help with this SQl Logic without using UDF Pin
Vimalsoft(Pty) Ltd9-Feb-10 19:41
professionalVimalsoft(Pty) Ltd9-Feb-10 19:41 
GeneralRe: Help with this SQl Logic without using UDF Pin
nainakarri10-Feb-10 17:55
nainakarri10-Feb-10 17:55 
GeneralRe: Help with this SQl Logic without using UDF Pin
Vimalsoft(Pty) Ltd10-Feb-10 19:35
professionalVimalsoft(Pty) Ltd10-Feb-10 19:35 
GeneralRe: Help with this SQl Logic without using UDF Pin
Mycroft Holmes10-Feb-10 20:02
professionalMycroft Holmes10-Feb-10 20:02 
GeneralRe: Help with this SQl Logic without using UDF Pin
Vimalsoft(Pty) Ltd10-Feb-10 20:06
professionalVimalsoft(Pty) Ltd10-Feb-10 20:06 
AnswerRe: Help with this SQl Logic without using UDF Pin
Mycroft Holmes9-Feb-10 13:38
professionalMycroft Holmes9-Feb-10 13:38 
QuestionReading variables in Insert Query Pin
gregarion9-Feb-10 2:47
gregarion9-Feb-10 2:47 
AnswerRe: Reading variables in Insert Query Pin
loyal ginger9-Feb-10 2:54
loyal ginger9-Feb-10 2:54 
GeneralRe: Reading variables in Insert Query Pin
gregarion9-Feb-10 2:58
gregarion9-Feb-10 2:58 
GeneralRe: Reading variables in Insert Query Pin
Maximilien9-Feb-10 4:18
Maximilien9-Feb-10 4:18 
GeneralRe: Reading variables in Insert Query Pin
David Skelly9-Feb-10 5:27
David Skelly9-Feb-10 5:27 
GeneralRe: Reading variables in Insert Query Pin
gregarion9-Feb-10 5:29
gregarion9-Feb-10 5:29 
GeneralRe: Reading variables in Insert Query Pin
David Skelly10-Feb-10 6:04
David Skelly10-Feb-10 6:04 
GeneralRe: Reading variables in Insert Query Pin
Richard MacCutchan9-Feb-10 6:32
mveRichard MacCutchan9-Feb-10 6:32 

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.