Forum Replies Created

Viewing 15 posts - 2,146 through 2,160 (of 5,103 total)

  • RE: Distinct vs. Group By difference

    There were some issues at one point in time with group by an user defined functions but none ( that I know off ) with columns.

    If your query is...


    * Noel

  • RE: Replicating large batch inserts

    Minimizing the data in the distribution can speedup significantly your process. Try reducing the time that distribution commands are kept in the distribution db (default 73hrs)... start with 36... for...


    * Noel

  • RE: A Special Announcement from Andy, Brian, and Steve

    As one of the earliest member of this site I can't say anything else but congratuations! I hope that what you created is maintained for life.

    Good luck!!


    * Noel

  • RE: STATS_DATE using qualified parameters

    Well I am not sure then what is "your" issue, because

    exec (' USE dba_data

    SELECT object_name(i.id)table_name, rows, rowmodctr,''Index Name'' = i.name, ''Statistics...


    * Noel

  • RE: STATS_DATE using qualified parameters

    If you pay close attention at what sergy posted you'll realize that there is a "use" statement *in* the dynamic sql

    exec (' use ; do your stuff') -- back...


    * Noel

  • RE: Managing Alerts in SQL Server 2005

    exec msdb.dbo.sp_help_alert

    The simplicity of this is what reinforces even more the idea of a rushed UI on SQL Server 2005. How hard was to provide that? ....

    By the way...


    * Noel

  • RE: ad hoc updates in sql 2005 (sp_configure)

    Jose Luis,

    You can do all that without using any "tricks" regarding system tables

    have a look at:

    sp_add_operator

    sp_add_job

    sp_add_jobstep

    sp_addmessage

    sp_add_alert

    The easiest way I can think of is you create one job then you script...


    * Noel

  • RE: Managing Alerts in SQL Server 2005

    Ok I have to take this off my chest.

    SQL 2005 "Management Studio" is in my opinion one of the worst piece of software ever written. The effort on the...


    * Noel

  • RE: Write to job log or create own

    If you plan to query that table I vote for 1


    * Noel

  • RE: Parse data for recurring value?

    Sure!

    declare @col varchar(2000), @valueToSearchFor varchar(200)

    select @col ='7104 7106 7112 7107 7132 7108 7150 7105 7110 7109 7111 7104 7106 7112 7107 7132 7108 7150 7105 7110 7109 7111 2'

    ...


    * Noel

  • RE: Parse data for recurring value?

    declare @col varchar(2000)

    select @col ='7104 7106 7112 7107 7132 7108 7150 7105 7110 7109 7111 7104 7106 7112 7107 7132 7108 7150 7105 7110 7109 7111 2'

    select (len(@col)-len(replace(@col,'7104','')))/len('7104')...


    * Noel

  • RE: Extract Part Of A Variable

    select replace(replace(@databasename,'].',''),'[','')


    * Noel

  • RE: Multiple collation and tempdb

    Sorry for the bad news but let me put it to you this way:

    You *are* missing your favorite show tonight!


    * Noel

  • RE: How to restore multiple TRN (log) files at a time?

    You can create differentials and it can reduce the amount of time it takes to restore quite a bit


    * Noel

  • RE: 255 column limit

    Well, it is 1000 in transactional.


    * Noel

Viewing 15 posts - 2,146 through 2,160 (of 5,103 total)