Forum Replies Created

Viewing 15 posts - 7,501 through 7,515 (of 14,953 total)

  • RE: Pass dynamic value into a variable in SSIS

    You could use a For Each Next loop, and have a recordset that lists the files you want to import.

    Then for the other part, have a second step that does...

    - 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: Data Load Speed - Full Recovery or Simple ?

    It can. It depends on log growth events locking things up, which will happen in Full, and can be avoided in Simple if the load is done in small...

    - 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 anyone explain this

    Looks to me like he's asking you to do some documentation. At a guess, some of it goes into tables, some of it into documents, and some of it...

    - 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?

    GilaMonster (12/7/2009)


    CirquedeSQLeil (12/7/2009)


    GilaMonster (12/7/2009)


    Grant Fritchey (12/7/2009)


    Nah, I'm just peeved because of... well, read for yourself.

    Oh man. Bob, I LOVE your reply to that thread. What I was thinking, but too...

    - 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: DBCC CHECKDB is taking to long

    How long will depend on the hardware, but a 700 Gig database will take a while to check. Hours doesn't sound outrageous to me.

    - 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: Setting NOCOUNT ON in UDFs

    Won't matter. It's a connection property, not an object property.

    Since you'll mainly be calling UDFs from within procs, if you set nocount on in the proc, that'll handle it.

    - 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: how to post query ...

    To the left of the box where you type your post, there is a list of the most common tags. If you click on the one for code="sql", it...

    - 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: Today's Random Word!

    GilaMonster (12/7/2009)


    GSquared (12/7/2009)


    GilaMonster (12/7/2009)


    Birthday

    If today is yours, Happy Birthday.

    Yup.

    I'm polite enough to not ask how old you are, and rude enough to guess 20-something.

    Well, it's listed on my profile, so...

    - 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: Stored procedure shows no errors, but does not display when selecting the Preview tab

    Okay, you lost me now. The tables exist in an Oracle database, but you're running the query in an SQL Server database?

    - 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 better way to write the query

    "Case" doesn't work that way in T-SQL. Try this:

    SELECT *

    FROM Table1 T1

    JOIN Table2 T2

    ON T1.var1 = T2.var1

    AND

    (@i = 0 AND T1.var2 = T2.var2

    or

    @i = 1 AND T1.var3 = T2.var3)

    - 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: Stored procedure shows no errors, but does not display when selecting the Preview tab

    cb10.(whatever) references a schema, "cb10", and a table or view, "tidcafac" in this case. Does that object exist in the database where you're running this?

    - 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: Inspecting the SQL commands received by a server

    A server-side trace or Profiler is the best way to do that.

    What you want is the Batch Complete event, and you want the Text column.

    - 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: Cursors

    For one thing, it looks like you're missing spaces in a few spots. That's quite possibly the error.

    How about laying out the code so it can be read?

    - 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: Setting NOCOUNT ON in UDFs

    For inline table-value UDFs, no (because you can't). For the rest, yes.

    Edit: Nope. I was wrong. Can't set it.

    - 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: Today's Random Word!

    bryanc 761 (12/7/2009)


    frigid

    She just took exception to being called "antiquated". You must have a death-wish! 😀

    - 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 - 7,501 through 7,515 (of 14,953 total)