Forum Replies Created

Viewing 15 posts - 571 through 585 (of 1,409 total)

  • RE: Arthimatic overflowerror converting expression to data type datetime

    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...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Corruption and Copy Backup Files

    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...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQL JOB takes too much time to execute

    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)?

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Corruption and Copy Backup Files

    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...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Arthimatic overflowerror converting expression to data type datetime

    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...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Arthimatic overflowerror converting expression to data type datetime

    tamer.h (1/8/2014)


    Thank you ChrisM@Work

    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...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: False Error 8152 / String or binary data would be truncated

    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...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: regarding date update in stored procedure

    p.avinash689 (1/6/2014)


    Hi All,

    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),

    ...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Rights necessary to run Begin Transaction and Commit

    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...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Queries hang on some databases

    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...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Maintance plan -- full backup error

    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...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Maintance plan -- full backup error

    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...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Maintance plan -- full backup error

    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...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: can i move MSSQL11.MSSQLSERVER from c:/ to d:/

    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...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: attach database from sql2008r2 to sql2008

    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...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **

Viewing 15 posts - 571 through 585 (of 1,409 total)