Forum Replies Created

Viewing 15 posts - 1,501 through 1,515 (of 3,232 total)

  • RE: Problem with Global Variables!!!!!

    Timothy is correct. Furthermore, variables of type object must be mapped to a collection or recordset. You would typically do this inside the packge by an ExecuteSQL task.

  • RE: writing function

    How 'bout you take a stab at it first, then post your code so we can help you? BTW, please include example data and your expected results.

  • RE: How to merge three VIEWs into one VIEW

    Joe, to be honest, it will be difficult for anyone to help you based off of what you posted. We don't have any of those tables, or any data...

  • RE: update problem

    gyessql is absolutly correct. Thanks for catching my mistake. You cannot reference a table outside of the SQL statement. gyessql's solution will work, and so would something...

  • RE: I/O requests taking more than 15 seconds

    Gail and Colin have you going down the right path. I'd continue to focus on the I/Os at the SAN level. You say that your DB instance has...

  • RE: How to merge three VIEWs into one VIEW

    I would recommend following Robert's advice. Here's some code to work with. You'll have to add to the select list to get all of your columns, but this...

  • RE: cursor not looping through records

    I see a few things here that would concern me. First off, it looks like you are using a sequence table to manage your PKs, correct? This is...

  • RE: How to merge three VIEWs into one VIEW

    Robert klimes (1/15/2009)


    bocleared cleareddate ctcleared cleareddate totalcleared cleareddate

    2 1/2/2009 ...

  • RE: update problem

    You're IF EXISTS...SELECT statement is missing the alias name for the table.

    Try this:

    if (EXISTS(select name from tablename table2 where name = table2.name and date = table2.date))

    begin

    Or this:

    if (EXISTS(select...

  • RE: No More Lottery

    Times of economic downturns represent great times for opportunty for those who are looking for it. While the masses are busy pulling all of thier limbs into their shells,...

  • RE: Full Text Search

    It may just be your Express version of Management Studios. We had a developer here who was having problems seeing the service broker and it was because he had...

  • RE: Insert scripts takes so much time ? Any alternative.

    Great. Thanks for the feedback.

  • RE: Detaching database from a failed machine

    That should definately work, but just in case, here's a couple more alternatives:

    1. Shut down the service from another computer, then copy files.

    OR

    2. Most laptops allow you to redirect the...

  • RE: Cursor - passing @dbname to INSERT STATEMENT

    Yep. Many of the interworkings of SQL Server are cursors under the hood. This just beats writing one and works fine for admin tasks.

  • RE: Select Statement

    I was missing something! I did not notice that you had both the column name and *.

    Thanks.

Viewing 15 posts - 1,501 through 1,515 (of 3,232 total)