Forum Replies Created

Viewing 15 posts - 24,061 through 24,075 (of 26,486 total)

  • RE: Stored procedures and Case or if statements

    So what is the actual error message you are getting with the second proc?

    😎

  • RE: Stored procedures and Case or if statements

    Looks to me that you have one too many "end" statements in the second stored proc.

    😎

  • RE: Concat data from two records in same query

    Better if you provide it as INSERT statements so that whoever decides to give it a go just has to cut, paste and execute. Some people don't have the...

  • RE: Concat data from two records in same query

    The sooner you can provide the schema and some sample data the better. Suggestion for the schema and data, primary key(s) on the table, and the additional columns needed...

  • RE: trigger question

    Jeff,

    I'd be real interested in seeing that, and testing it as well. I have never seen that myself, so that has to be a Missouri moment (show me).

    Thanks,

    Lynn

  • RE: Help with delete command

    Try this in a test environment:

    DELETE PW -- COUNT(1)

    FROM

    performance_esx3_workload PW

    INNER JOIN performance_sample PS

    on (PW.sample_id...

  • RE: Help with delete command

    Post your code you wrote.

    😎

  • RE: Truncate Log Files

    There are two issues here. The first is that the update is taking a long time, and second as a result the log file is filling up the disk...

  • RE: Truncate Log Files

    That's what I forgot to put in that post on another thread, a BACKUP LOG!

    Yes, you need to do that as well. As I asked earlier, if you post...

  • RE: trigger question

    The BEGIN and END may not be necessary, but I find it makes it easier to see what code makes up a trigger, stored procedure etc. Especially true if...

  • RE: Change Where clause causes HUGE performance problem

    Okay, I have to bite on this one. What server settings prevent you using indexed views?

    😎

  • RE: Truncate Log Files

    Sounds like you need to break down your update into smaller batches instead of one big update. Could you post your update query?

    😎

  • RE: Not Equal

    This gets into basic BOOLEAN LOGIC. Your where clause is this:

    name <> 'name1' and age <> 25

    That is equvilent to this:

    not (name = 'name1' or age = 25)

    For proof...

  • RE: DBA

    Read books and white papers is good, but you also need to get hands on experience as well. One thing you should also consider is purchasing SQL Server 2005...

  • RE: modifications on a sql instance

    Read BOL topics DDL Triggers and Event Notifications.

    😎

Viewing 15 posts - 24,061 through 24,075 (of 26,486 total)