Forum Replies Created

Viewing 15 posts - 3,436 through 3,450 (of 14,953 total)

  • RE: Are the posted questions getting worse?

    I've hated horses ever since I had to ride them every day to get to the school bus. It was only up hill one way, but it was through...

    - 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: Really Urgent

    You're in kind of uncharted waters on this one.

    I'd try just setting up Replication again, as if it were never there. You'll end up with some orphan artifacts on...

    - 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: Use SSIS to save result of a SQL query to a text file = hard?

    Skip the variable and the Execute SQL Task. All you need for something like this is the Data Flow task.

    The query you have in the Execute SQL Task, use...

    - 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: Really Urgent

    The error message is because you dropped the distribution database before you were done disabling replication. Any particular reason you did that?

    - 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 t-sql script to backup a sql 2005 sp2 database with compression

    Compression is a 2008 feature. Didn't exist in SQL 2005. You can use third-party solutions for that, or back up to a compressed directory/drive. Or upgrade SQL...

    - 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: Use @return_value to UPDATE a table

    Can you modify the proc?

    - 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: Use @return_value to UPDATE a table

    The temp table doesn't exist in that context. It only exists inside the proc. If you want to select from it, you'll need to put the select statement...

    - 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: Cannot insert duplicate key row in object

    Can't help on that. I've never tried to skip a transaction in replication.

    - 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: Use @return_value to UPDATE a table

    The proc doesn't use the Return command to return a value. Thus, the variable is just being assigned the error code, which is probably 0 unless there's a problem...

    - 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: Custom equipment id generater issues

    Something like this:

    create table dbo.IDTest (

    ID int identity,

    EquipmentID char(13) primary key);

    go

    insert into dbo.IDTest(EquipmentID)

    values('ABC-2010-0001'); -- Seed value, to test year-vs-year code

    go

    create proc dbo.IDGenerator

    (@ID_out char(13) output)

    as

    set nocount on;

    set transaction isolation level repeatable...

    - 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: An Investment in Knowledge

    Ed.Watson (8/31/2011)


    I am not necessarily complaining or unhappy to learn new stuff, I just personally would like to retain more of it LOL

    In the educational methodology I use, we have...

    - 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 in ISDATE function's behaviour

    sqlnaive (8/30/2011)


    GSquared, I mentioned "In 2005, it was returing 1 while in 2008 the same value returned 0"

    Your first post said, "In 2005, it was returing 1 while in 2008...

    - 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: Use @return_value to UPDATE a table

    First, @return_value is defined as an integer, but you seem to be putting it into a date column.

    Second, I'd have to see the definition of the COB proc to tell...

    - 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: System Databases and DBPro........

    Duplicate thread. Resolved on other copy.

    (Angelindiego, for future reference, you don't need to post in multiple forums on this site. Just once is enough. No big deal,...

    - 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: Date and Time Query Help

    I'm not clear on what you want to Max or Group By for. Max what?

    - 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 - 3,436 through 3,450 (of 14,953 total)