Forum Replies Created

Viewing 15 posts - 11,521 through 11,535 (of 18,923 total)

  • RE: Query

    Select Id, Col2, YourCol from dbo.YourTable where YourCol NOT IN ('ST', 'SV', 'SU') order by ??

     

  • RE: select * from xxx where 1=1 ??

    What Dylan said .

     

    I might add that this is most often used for "complex" search forms where any number of parameters can be entered.

  • RE: Indexing and TransLog

    This command is your new best friend

    DBCC UPDATEUSAGE (DbName)

     

    Then refresh the data displayed in EM (you MUST manually hit a refresh button for...

  • RE: Count record from different table

    Is this related to this question or is this a new question all together?

  • RE: Up system table

    I would go as far as saying that the queries reading from syscomments would make the app fail right there, but that's another story...

  • RE: Mind Your Manners

    I'm sorry to say that I forgot most of the messages I posted over the years... only the logic and knowledge remains.  But I do remember quite a few new...

  • RE: Job Step Duration

    remove j.name like 'myjobnamepart%'

     

    and try setting days ago to 1 or 14

  • RE: problem access sqlserver session state

    Probabely means that the log file was full and that after 30 seconds, the resize still wasn't finished.

    As suggested, try manually setting a bigger size (like the maximum needed size...

  • RE: select * from xxx where 1=1 ??

    It makes the concatenation work easier. You don't have to check if a condition has been set before adding another conidtion dynamically. Query wise, that condition is checked...

  • RE: TSQL Help

    Or you can create a 2nd column called version.  Update the name and the version with and update query, then manually update the rows such as photoshop.  Then update the application...

  • RE: TSQL Help

    I don't mind for a single script.  But it was hard to figure out the difference when they were not side by side .

  • RE: Up system table

    I'm glad to informa you that Microsoft already thaught of that problem.  If the text size goes beyong 4000 characters, a new row is inserted in SysComments to make sure...

  • RE: Best way to run updates

    I'll add to that that you may be able to merge some updates together so that you don't update for exemple, the same table with 4 statements, but only with...

  • RE: Up system table

    So your boss wants you to redesign sql server. I think your time would be better spent doing something else... something doable and usefull.

    Also this would definitly void any further support...

  • RE: TSQL Help

    Ok that was too easy for you guys .

Viewing 15 posts - 11,521 through 11,535 (of 18,923 total)