Forum Replies Created

Viewing 15 posts - 976 through 990 (of 1,124 total)

  • RE: multiple strings between two different delimiters

    Lowell (10/29/2007)


    Ramesh that was spot on... the only thing that was missing from your sample was a single character due to my poorly named variables:

    WHEREN <= LEN( T2.DefinitionAsHTML )AND SUBSTRING(...

    --Ramesh


  • RE: switch partition to table

    The message clears states that you don't have an index on source table which is there in target table....

    Taken for BOL

    Table and Index Structure Requirements

    Both the source table and the...

    --Ramesh


  • RE: How to schdule DTS job with task scheduler in xp

    Go to Management Studio > Object Explorer > Server Explorer > Management > Legacy > Database Maintainance Plans

    Right click on the package & select schedule package....

    --Ramesh


  • RE: MS access- HELP with counting matching personnel numbers ...

    Cross post...continue discussions [highlight=""]here[/highlight]

    --Ramesh


  • RE: How can i match where the personnel number shows at least 4 times HELP?

    Well, then you've to remove the additional columns added in group by...

    SELECT Count(tblSicknessEpisode.PersonnelNumber) AS CountOfPersonnelNumber, tblSicknessEpisode.PersonnelNumber

    FROM tblSicknessEpisode

    GROUP BY tblSicknessEpisode.PersonnelNumber

    HAVING (((tblSicknessEpisode.SickCategory)="NWR") AND CountOfPersonnelNumber >= 4 )

    ORDER BY tblSicknessEpisode.PersonnelNumber;

    --Ramesh


  • RE: PIVOT query !!!

    Now, I 'm confused and have 2 questions here:

    1. If i substitute SCHOOLID, 'Elementary' As Elementary, 'SBA' As SBA, 'Secondary' As Secondary instead of *, why am i getting error?

    You...

    --Ramesh


  • RE: Unable to connect to sql server 2005

    KHI,

    You need to allow remote connections to connect to the instance...

    ...just follow the steps that Kishor has suggested...

    Last week 1 of my assistant dba deleted the built in admin group,so...

    --Ramesh


  • RE: How can i match where the personnel number shows at least 4 times HELP?

    I don't know whether the below queries would run in Access or not...(and i'm sure the last one would work)...

    SELECT Count(tblSicknessEpisode.PersonnelNumber) AS CountOfPersonnelNumber, tblSicknessEpisode.PersonnelNumber, tblSicknessEpisode.SickEpisodeID, tblSicknessEpisode.FirstDate, tblSicknessEpisode.LastDate, tblSicknessEpisode.SickCategory

    FROM tblSicknessEpisode

    GROUP...

    --Ramesh


  • RE: Unable to connect to sql server 2005

    Before applying the patch, are you able to connect to the instance?

    --Ramesh


  • RE: PIVOT query !!!

    The pivoted values should always be enclosed with square braces..

    PIVOT ( SUM(AMOUNT) FOR FUNDINGSOURCE IN ([Elementary], [SBA], [Secondary] ) ) AS X

    --Ramesh


  • RE: multiple strings between two different delimiters

    Lowell,

    I just tried the below query and its giving what exactly you require....

    SELECTT1.N, T2.NumDef,

    SUBSTRING( T2.DefinitionAsHTML, ( CASE T1.N WHEN 1 THEN 1 ELSE T1.N + @pr END ),

    ( CASE...

    --Ramesh


  • RE: Formatting the date

    Jeff Moden (10/26/2007)


    Greg Snidow (10/26/2007)


    Well, I can't replicate it, but I know I had an issue with it before. Maybe I'm just crazy.

    No, not crazy... both of...

    --Ramesh


  • RE: reporting on aggregates

    jdwebwolf (10/27/2007)


    I am wondering if that will do what I am trying to do

    'Language' is not acutally a field in the table and the URLs are oddly formated as they...

    --Ramesh


  • RE: Concat field of two rows into one

    Thanks tom....

    --Ramesh


  • RE: OpenRowSet Without linking servers

    pricejt (10/27/2007)


    alright i was able to get it working.

    One more question. What im trying to do is compare a column from serer B to Server error and return the rows...

    --Ramesh


Viewing 15 posts - 976 through 990 (of 1,124 total)