Forum Replies Created

Viewing 15 posts - 23,311 through 23,325 (of 26,490 total)

  • RE: null values

    Are you saying that if, for instance, column c is null for a particular row, don't return that row.

    select

    *

    from

    dbo.MyTable

    where

    ...

  • RE: Stored Procedure

    I'm sorry, but I don't see any errors in your post. What errors are you receiving?

  • RE: Basic T-SQL

    darryl (12/12/2008)


    Thanks for the pointer. I will try to do it better.

    First of all, the only code I tried was to select the records. If figured the first...

  • RE: Basic T-SQL

    Read the article that both Seth and I have in our signature block. It will walk you through the steps you need to do to get the best help...

  • RE: Basic T-SQL

    Looks like you want to do an INNER JOIN between the two tables. That's about as much as I can tell from your psuedo code.

    Can't tell if you just...

  • RE: Execute a Stored Procedure using SQLXML

    I received your email, but I'm at a lost as to what you are trying to accomplish as well. You really need to show us what you are trying...

  • RE: Getting Count when "nothing is there"

    MrBaseball34 (12/12/2008)


    I need to also get a 0 count when ther is no resources for the selected date.

    How would I do that?

    SELECT ResourceID, COUNT(ScheduleId) AS Count

    FROM ptSchedule

    WHERE (Status <> 5)...

  • RE: Display the columns in Alphabetical order in 2005 Management Studio?

    You can't change the sort order in the Object Explorer, but while the column folder in Object Explorer is highlighted, you can sort the column names in the Object Explore...

  • RE: our job status

    I don't see the IT field going away. I think it's here to stay. What we do in the field, howver, can very easily change.

    This is what I...

  • RE: How do you archive data?

    This is what the code should look like:

    DECLARE @batchsize INTEGER,

    @rowcount INTEGER;

    SET @batchsize = 100000;

    SET @rowcount = @batchsize;

    WHILE @rowcount = @batchsize

    BEGIN

    ...

  • RE: Which is better

    Jack Corbett (12/12/2008)


    I like tabs and I use 6 and I like to set it to 6 even if I change set it to use spaces. One of those...

  • RE: Are the posted questions getting worse?

    jcrawf02 (12/12/2008)


    jcrawf02 (12/12/2008)


    Lynn Pettis (12/12/2008)


    So, having noticed items 2 through 4, where do you fall?? Also, I may be an old fart, but I can keep up with high...

  • RE: Error when Creating a View

    You can disable the database trigger with the following sql statement (change the name of the trigger, as this is the name of the DDL trigger in my version of...

  • RE: Error when Creating a View

    Christopher Stobbs (12/12/2008)


    How can you tell from looking is sys.triggers which triggers are DDL?

    Will it be under the type_Desc?

    The column parent_class_desc will say DATABASE for a DDL trigger.

  • RE: Error when Creating a View

    You can find your Database Triggers under progammability in the object explorer.

Viewing 15 posts - 23,311 through 23,325 (of 26,490 total)