Viewing 15 posts - 571 through 585 (of 1,409 total)
Can you post the DDL statement you used to create the table [resut]?
Btw: your TRUNCATE statement is executed on the same database as your SELECT statement, because you didn't use...
January 9, 2014 at 8:28 am
From my experience most DBA don't execute a validation check after a copy action. From my knowledge a corruption won't occur frequently during the copy action. Most corruptions occur during...
January 9, 2014 at 8:25 am
Is this problem reproducable? Does it occur when the job is scheduled to run at a different moment? Are other processes running at the same moment (could cause blocking issues)?
January 9, 2014 at 6:29 am
By copying (backup)files from one location to another corruption can occur, allthough (most?/all?) copy commands have some kind of internal verification process.
But bottomline is: you can verify your backups by...
January 9, 2014 at 6:24 am
Define the columns in the SELECT part only by their name (not using the three part notation). When a column-name exists in multiple objects (tables, sub-query) of the FROM part...
January 8, 2014 at 8:33 am
tamer.h (1/8/2014)
it works perfectly.
I'm now trying to copy the result of query to another table in another DB useing INSERT INTO but it always creating a new...
January 8, 2014 at 4:38 am
What datatypes and lengths are defined for the fields in the [MT_Store] table? Can you post the DDL statement of this table?
What is your default setting of "SET ANSI_WARNINGS" and...
January 8, 2014 at 4:27 am
p.avinash689 (1/6/2014)
I have a stored procedure like below.
USE [Mama]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[IP_BILLNO](@BILLNO NUMERIC(10) OUTPUT)
AS
DECLARE @Y NUMERIC(4,0),
@d VARCHAR(12),
...
January 6, 2014 at 6:07 am
GilaMonster (1/6/2014)
To debug, you're going to have to dig into what exactly is happening when the app 'hangs', what waits the queries are seeing, etc.
Run a profiler trace and log...
January 6, 2014 at 5:49 am
Take a look in the Activity Monitor in SSMS on the SQL Server at the moment the clients query seems to hang. Look at all the processes/queries that are executed...
January 6, 2014 at 5:16 am
sita.yeleswarapu (12/25/2013)
Declare @path Varchar(200)set @path='xxxx'+ CONVERT(VARCHAR(10),GETDATE(),110)+'.bak'
BACKUP DATABASE [xxxx]
TO DISK = @path
So, what is your question or problem?
The code above does work well even with a space in the...
December 25, 2013 at 5:21 am
Default setup of maintenance plan is through a GUI. This will always have the risk of wrong manual input.
If you want to control the variables you need to build the...
December 24, 2013 at 5:41 am
Do you create your backups directly to disk, or are you writing to a backup-device? In this last mentioned situation the backup-device need to exist. You can query the existing...
December 19, 2013 at 8:31 am
It is rather hard to move the installed folder from SQL to another location. But it is much easier to move one or more databases to another disk.
In case of...
December 18, 2013 at 9:38 am
fateme.soleimani67 (12/18/2013)
very thanks for all helps.i create script from database file but in another system with sql2008 not run and error
how to script and run script in sql2008.
best regard
Make...
December 18, 2013 at 7:00 am
Viewing 15 posts - 571 through 585 (of 1,409 total)