Forum Replies Created

Viewing 15 posts - 466 through 480 (of 687 total)

  • RE: Urgent help for tempdb

    Syed Jahanzaib Bin hassan (6/30/2011)


    DBCC SHRINKDATABASE

    Visit this link

    http://support.microsoft.com/kb/307487

    don't listen to him ^

    What Mr. Fritchey suggests is best if your problem is that you are running out of disk space...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Converting varchar to datetime

    insert into [good_table]

    (col1, col2, col3)

    select

    colA,

    colB,

    cast(left([ColC], 2) + '/' + SUBSTRING([ColC], 2, 2) + '/' + RIGHT([ColC], 4) as datetime)

    FROM [dumb_table]

    Something like that

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Determine DB Recovery Model withing Sproc

    SELECT name,recovery_model_desc

    FROM sys.databases

    That will tell you the recovery model for each database.

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: How to Restore the backup file from Sql server 2008 enterprise to SQL server 2008 express edition .

    Grant Fritchey (6/29/2011)


    calvo (6/29/2011)


    Ninja's_RGR'us (6/29/2011)


    ... or upgrade sql express to sql express R2.

    ^^

    Doesn't matter if it is standard, enterprise, or express, it's the same version number and that's all that...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Performance Issue

    If you post the actual query plan please, experts will be able to help in a more expeditious manner.

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: How to Restore the backup file from Sql server 2008 enterprise to SQL server 2008 express edition .

    Ninja's_RGR'us (6/29/2011)


    ... or upgrade sql express to sql express R2.

    ^^

    Doesn't matter if it is standard, enterprise, or express, it's the same version number and that's all that matters. Now, assuming...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Listing results in a single column

    lawlz

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Listing results in a single column

    with CTE as

    (

    select name,nameid

    from #names

    )

    SELECT

    name,

    offidlist = STUFF((

    SELECT

    ...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Subquery issue

    Rank1_nj (6/28/2011)


    Am I Replacing the IF Statement where it says

    IF @RandomCol = 'YES'

    or am I relacing the @RandomCol Varaible's SET select statement?

    because I tried replacing it with...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: 2008 R2 set up stops after product key is entered.

    Duran (6/28/2011)


    I have having to reinstall a copy of SQL server 2008 after it was destroyed when the a drive was deleted.

    d'oh!

    How long have you waited after the screen...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Subquery issue

    Since the @randomCol declared variable is never used and you're only performing an action if a user's field = 'yes',

    instead of:

    declare @randomCol varchar(100)

    set @randomCol =

    (Select RandomCol

    from TableA

    where...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Subquery issue

    DDL scripts, sample data, and expected output would be helpful.

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Fixed Dollar Sign

    Daniel Bowlin (6/24/2011)


    A kind of a sideways way to do this would be to add a column to the left of your money column and just put a $ in...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Evaluating SQL HA options for Disaster Recovery

    I think the most important question to answer when trying to decide HA options is, what is the business requirement?

    Is there an acceptable amount of downtime? Does the secondary server...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Talking baseball

    Oh man!

    Riggleman (Nationals) just up and quits after a 1-0 win against the Mariners.

    He said he did it on principal, but even if he's right about Rizzo not wanting to...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

Viewing 15 posts - 466 through 480 (of 687 total)