Forum Replies Created

Viewing 15 posts - 481 through 495 (of 3,011 total)

  • RE: Backup taking MUCH longer on prod HELP:)

    You should run a copy_only backup to the nul device to see if the problem is reading the database data or writing the backup file to disk.

    backup database [MyDatabase] to...

  • RE: UPDATE when the values are the same

    MissTippsInOz (8/24/2012)


    Such passion for our topic!! It amused me to note that the original poster announced he'd got the answer he required 9 days ago now and has, presumably, gone...

  • RE: Fix v. Create

    Question Guy (8/24/2012)

    ...on some of the reports, the values are hard coded, and don't actually show the real values...why...because the real values are not actually saved to the database...

    I'll bet...

  • RE: need sloution for current date in a job

    If all of your steps are TSQL steps, you could record the job start time in a table in the first step, and then each step could do a lookup...

  • RE: Fix v. Create

    I think most maintenance is actually new development activity that was skipped during initial development because the developer was in a hurry, under pressure, incompetent, lazy, etc.

    In particular, design review...

  • RE: Drop Table if exists

    Phil Parkin (8/23/2012)


    MSzI (8/23/2012)


    I would suggest:

    IF EXISTS (SELECT 1 FROM sys.objects WHERE OBJECT_ID = OBJECT_ID(N'[ABC_SCHEMA].[ABC_TABLE]') AND [Type] IN (N'U'))

    DROP TABLE [ABC_SCHEMA].[ABC_TABLE]

    Because:

    1. It's safer to check the schema in...

  • RE: GREATEST and LEAST function

    GSquared (4/24/2008)


    I'm not sure if what you're asking for is "max" and "min". Take a look at those in Books Online and see if they will do what you...

  • RE: Avoiding the Deep model (Key, value)

    This is one of my all time favorite threads about an EVA:

    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=61024

    I especially like the query posted by RobWafle at 02/01/2006 12:05:48 that had over 40 left joins.

    I still stand...

  • RE: Avoiding the Deep model (Key, value)

    mishka-723908 (8/22/2012)


    I understand and completely agree, but are there any other options? I dont see any but just add a column in the future when necessary.

    I don't see why just...

  • RE: Avoiding the Deep model (Key, value)

    I have never seen an implementation of EAV that was not a complete disaster.

    Some of the main issues are:

    Hard to maintain domain integrity.

    Hard to maintain referential integrity.

    Extremely hard to enforce...

  • RE: Avoiding the Deep model (Key, value)

    What is a deep-model?

    Do you mean something like an entity-attribute-value (EAV) model?

  • RE: choosing HA SQL 2008 R2 64bit?

    If you use mirroring, you may need to modifiy the application connection strings to automatically failover to the active server.

  • RE: University grad

    I am a little confused by what you said:

    "I have done quite a lot with SAP systems and in particular with BI." but then you say "I dont have professional...

  • RE: varbinary(max)

    Rainmaker097 (8/20/2012)


    Hi,

    I am able to insert more than 8000 characters. but when I select after converting to varchar, it chops the values.

    For example, if you run the blow, you will...

  • RE: good way to identify when was sql server installed?

    Each instance of SQL Server has an install log directory where the initial install and upgrades are logged

    For SQL 2008 on my computer it is:

    C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log

    From SQL...

Viewing 15 posts - 481 through 495 (of 3,011 total)