Forum Replies Created

Viewing 15 posts - 8,926 through 8,940 (of 18,923 total)

  • RE: Table

    Are you sure you are connected to the right server / DB?

  • RE: Table

    It has to work if you put the name that sysobjects gives you in brackets... that's absolutly a can't fail proposition... unless you have a corrupt installation or maybe DB...

  • RE: Insert Trigger Time Issue

    I'd like to see the rest of the trigger, there's probablye a way to only do 1 update instead of four. Your query should look like this :

    update...

  • RE: How can I mass alter multiple stored procedures?

    Not a required feature. The fact that you need to alter the procedure suggests that you will manually (99% of the time) will change the code.

    That feature has been...

  • RE: Table

    Have you tried this syntax? :::

    SELEC Whatever FROM dbo.[db.documents]

    if that fails you can always run this to see the actual table name

    Select * from sys.sysobjects where name like %documents% and...

  • RE: Creating a Trigger on a table by a stored procedure in another database

    Repeating the warning.... don't create triggers on the fly.

    If you have a DBA job of creating audit triggers and want to write your own code here's how to bypass that...

  • RE: Problem Deleting Backup Data (sp_delete_backuphistory)

    Patrick Smith (7/14/2005)


    As Fred Williams suugests, this speeds it up:

    CREATE

    INDEX [media_set_id] ON [dbo].[backupset] ([media_set_id])

    CREATE

    INDEX [restore_history_id] ON [dbo].[restorefile] ([restore_history_id])

    CREATE

    INDEX [restore_history_id] ON [dbo].[restorefilegroup] ([restore_history_id])

    That really makes...

  • RE: How to update different column depends on seq

    This screams poor table design... why don't you have one row per date?

    If this is the case of a report you need to run, or something of the likes, or...

  • RE: Average Salary

    Sherbrooke, Québec, Canada (90 minute south of Montréal).

    It was more a contract than a job... but I'm sure I can find more of those if I need to... but I...

  • RE: Average Salary

    Sorry for my over estimations... but the last "jobs" I had, I was charging 75$ / hour, that's easily in the 6 figures. I just assume that it was...

  • RE: Average Salary

    I just found a site called payscale.com From what I can tell the average seems to be around 45-55K / year.

    You might want to fill out the survey...

  • RE: Average Salary

    Montréal is in Québec, Canada.

    It's one of the biggest towns in Canada.

    I have no idea of the average salary there... should be at least 6 figures (my own personal guess...

  • RE: An Audit Trail Generator

    You can find a trigger generator that will make all the code necessary for the triggers.

    Or you can build one. It may take a few hours of work, but...

  • RE: An Audit Trail Generator

    My client has a small in-house system with only 8 users on it, no website. The difference between both trigger system's performance is enough to keep him from buying another...

  • RE: An Audit Trail Generator

    Fine, turn the trigger back on, then PRINT the query instead of executing it.

    Analyse that query and you'll find your problem there.

    Also you are asking for troubles by auditing this...

Viewing 15 posts - 8,926 through 8,940 (of 18,923 total)