Forum Replies Created

Viewing 15 posts - 6,871 through 6,885 (of 18,923 total)

  • RE: Can any one advice entry level dba admin, dba job chances

    Free is free. The interview is free too BTW.

    It's also a good way to actually meet people and see what it's like to work there. If...

  • RE: Bit Pattern

    Or... (instead of divide)

    Declare @t table (v integer not null primary key, check(v >= 0));

    Insert @t values (0)

    Insert @t values (1)

    Insert @t values (2)

    Insert @t values (3)

    Insert @t values (4)

    Insert...

  • RE: Query has two exec plans - Good and Bad

    sqldba_icon (4/7/2011)


    Thanks everyone for the inputs. Still some of my questions are unanswered.

    ii) Using "Option Recompile" for proc is NOT AN OPTION because it takes more than 20 secs to...

  • RE: stored procedure-multiple steps

    You can't have GO statements within the procedure...

    And actually I don't see why you would need them in that case.

  • RE: stored procedure-multiple steps

    create PROCEDURE [dbo].[CalChestSum]

    with recompile

    AS

    SET NOCOUNT ON

    begin

    declare @DateTo datetime

    ...

  • RE: Tlog is full

    Read Gail's article first.

    I was asking about most recent backup because as the ABSOLUTE last resort, there's a way to dump the log. BUT you must be able to...

  • RE: Max Date for each app_id

    SELECT

    *

    FROM

    (

    SELECT

    ROW_NUMBER() OVER ( PARTITION BY lastwaittype ORDER BY...

  • RE: Tlog is full

    What are your options?

    Best way is to take a tlog backup but I'm guessing you tried that already and failed.

    Do you have a full backup somewhere? Or are you...

  • RE: Max Date for each app_id

    SELECT

    *

    FROM

    (

    SELECT

    ROW_NUMBER() OVER ( PARTITION BY lastwaittype ORDER BY...

  • RE: UNION ALL is hanging the server and is very slow.

    Temp tables are used to divided and conquer. That means you have a huge a$$ query or huge a. table and you have slow performance. Then building the...

  • RE: Daily upload from A2007

    I can't help you with SSIS because I've never used it... and never had to.

    You can all you need from SS side in a job in a single script. ...

  • RE: Daily upload from A2007

    What's the problem? You already told us exactly and clearly what needs to be done.

    Generate the drop commands and run them

    Truncate all tables

    Reimport (already working as I understand)

    Reload constraints......

  • RE: Cross-database queries / new database name after restore

    The good thing about synonyms if that they can be rebuilt quite easily with a script. Maybe I'd check out that route.

  • RE: Daily upload from A2007

    Yup it's the print command... unless you hit a real weird "bug" bu using order by newid() in the concatenation. Otherwise it's the print issue.

  • RE: Daily upload from A2007

    Just concatenate the code in varchar(max) var and exec that... fully automated.

Viewing 15 posts - 6,871 through 6,885 (of 18,923 total)