Forum Replies Created

Viewing 15 posts - 706 through 720 (of 14,953 total)

  • RE: DBA Interview Questions needed - Serious only please.

    subha.msc2007 (10/4/2012)


    Hi Guys..

    i don't think too much difficulty on this post .

    simple logic here: while filling DBA position commonly we will get answer from candidate side only, if our criteria...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Doing date math where the user defines which days to count and which to skip

    A calendar table will solve this kind of thing neatly.

    Define a base calendar, of all days for the next X years (and some prior years as well), then add a...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Check for the existence of a file BEFORE processing in SQL Server - SOLUTION

    Clever.

    Not sure I'd want SQL running under permissions that can access other servers, but if you limit it to read-only, the security window on that is limited.

    I've been using a...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: UPDATE Does Nothing (Executing Query displays in status)

    Unless there's something else blocking the update, it should run like that.

    I just ran this test:

    CREATE TABLE #T (

    JobNum INT,

    RefreshDate DATETIME,

    RecID INT);

    INSERT INTO #T (JobNum, RefreshDate, RecID)

    VALUES (1,GETDATE(), 1),(2,GETDATE(),2);

    UPDATE T

    SET...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: DBA Interview Questions needed - Serious only please.

    Lee Crain (10/3/2012)


    GSquared,

    All good questions.

    If I knew I was not qualified to perform the interview myself, I would start by writing as good a job description as I was...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: difference between the local variable and globla variable

    No such thing as global variables in T-SQL. They used to call some of the system functions "global variables", but they never really were that, and Microsoft stopped calling...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Can I retrospectively add a primary Key to a table that was build without one?

    You can add a primary key this way:

    alter table dbo.MyTable

    add constraint PK_MyTable primary key (column list);

    Name it whatever you like. I name PK constraints "PK_" and the table name.

    Lack...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Query Help

    Sean Lange (10/3/2012)


    surma.sql (10/3/2012)


    Sean Lange (10/3/2012)


    select *, ROW_NUMBER() over (PARTITION BY cStudentId Order by dtEnrollmentDate) as RowNum

    from #temp1

    ok, i got it.

    But in my requirement, I insert the output to another...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Is SQL Server 2005 Dev Edition still available?

    Yeah, I didn't dig into details. Was just suggesting a starting point.

    I might have an old copy of SQL 2005 Dev sitting around at home, now that I think...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Running out of Identity values

    A WaitFor in such a process is commonly there to give the server a chance to finish other threads/processes in between loops.

    However, on a process like this, if you do...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Is SQL Server 2005 Dev Edition still available?

    I searched for "sql server 2005 developer edition" on Google, and clicked on the Shopping filter (on the left) and found a couple of places that look like they still...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Would like some ideas for a test harness for a DBA Interview

    I've done that before.

    Set up a copy of Express Edition SQL Server on a laptop, put it in the interview room, and let them go to town on it.

    It's easy...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Running out of Identity values

    ScottPletcher (10/2/2012)


    sql-lover (10/2/2012)


    bteraberry (10/2/2012)


    ScottPletcher (10/2/2012)


    Maybe I'm missing something.

    Why not just ALTER the column to be a bigint instead of an int?

    He said these are very big tables. Altering the...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: SQL Agent cannot start

    Is the computer part of an AD network that might deny permissions, even if they're okay locally? I think that can be done.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: DBA Interview Questions needed - Serious only please.

    Lee Crain (10/3/2012)


    Grant Fritchey (8/27/2012)


    You might want to hire a consultant to do the interview for you. I know several people that are regularly doing interviews for employers that don't...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 15 posts - 706 through 720 (of 14,953 total)