Forum Replies Created

Viewing 15 posts - 2,761 through 2,775 (of 14,953 total)

  • RE: is there an option to sync first snapshot without deleting data?

    For snapshot replication, the usual answer is to empty the tables before inserting new data into them. That's kind of the point of snapshot replication.

    When I need to create...

    - 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: need a merge workaround

    Merge was introduced in SQL 2008. In prior versions of SQL Server, you have to build your own set of update, insert, delete statements. Used to be called...

    - 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: Temp On C: Drive

    It depends on the SATA generation, the SCSI version, how many I/O channels (drives, etc.) on each, the bus each is connected to on the motherboard, the buffer and I/O...

    - 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: Hi , How to check how many servers are there and information at a time in one command

    I'm not sure what you mean.

    Are you trying to inventory all the servers on your network?

    - 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: Select all from 1 file and top from another

    The reason I did the query with an inline sub-query instead of a defined UDF is because there's a performance cost to using a UDF just because it's an external...

    - 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: Select all from 1 file and top from another

    I dug through my scripts library, and found this for age calculation:

    -- Age Calculation (most accurate known version; does NOT take into account Leapling laws)

    ISNULL(CAST((CAST(CONVERT(VARCHAR(25), GETDATE(),...

    - 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: DELETE !!! soft ? or Hard ?

    Use "Where Not Exists (select * from table where column is null)" as part of your where clause in your delete statement. That should give you what you need....

    - 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: DELETE !!! soft ? or Hard ?

    The question of hard vs soft deletes is a business decision, not a technical one.

    How to implement either one is a technical question.

    Is that what you're asking about?

    - 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: Are You Easy To Work With?

    I am definitely easy to work with, and anyone who disagrees will be shot! 😀

    - 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: Trying to determine fraudulent activity based on numbers dialed

    p-nut (11/22/2011)


    GSquared (11/22/2011)


    It won't catch an iteration from 09 to 10 in the last two digits. If you want that, you need to just modify the Left() and Right()...

    - 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: Trying to determine fraudulent activity based on numbers dialed

    The simple way to look for that kind of patterns in rows is to join a table to itself with the rules you want it to follow.

    For example:

    SELECT DISTINCT

    ...

    - 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: XQeury modify() fails when update a decimal value that is null

    Glad I was able to help at least that much.

    The XQuery documentation sucks. I've had to learn far to much of it by just poking around and trying things...

    - 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: Are the posted questions getting worse?

    Stefan Krzywicki (11/22/2011)


    GSquared (11/22/2011)


    Jack Corbett (11/22/2011)


    I start a new job in less than 2 weeks and it is a telecommute. I need to buy a new monitor and chair...

    - 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: Select all from 1 file and top from another

    I'm not clear on what you mean by selecting from files. Do you mean tables? Or are you trying to extract data from Excel or text files or...

    - 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: Are the posted questions getting worse?

    Jack Corbett (11/22/2011)


    I start a new job in less than 2 weeks and it is a telecommute. I need to buy a new monitor and chair for my office....

    - 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 - 2,761 through 2,775 (of 14,953 total)