Forum Replies Created

Viewing 15 posts - 46 through 60 (of 98 total)

  • RE: Getting the Last Integer values

    Ken Simmons (7/8/2008)


    I think this will do whay you want.

    Declare @STR varchar(20)

    Set @STR = 'T3es5ta12p001'

    select Substring(@str,len(@str)-PATINDEX('%[A-Z]%',reverse(@str))+2,len(@str))

    Hi Ken Simmons,

    I want to know why you use (+2) in...

  • RE: PL/SQL

    Hi Anil,

    try this ....

    SELECT o.name AS "Table Name", i.rowcnt AS "Row Count"

    FROM sysobjects o, sysindexes i

    WHERE i.id = o.id

    AND indid IN(0,1)

    AND xtype = 'u'

    AND o.name <> 'sysdiagrams'

    ORDER BY i.rowcnt DESC

    ---

  • RE: Getting the Last Integer values

    Hi Guys,

    Thanks you very much for your kind posting. All the post statements are working fine and that are valuable for...

  • RE: Getting the Last Integer values

    hI GilaMonster,

    Below is my requirement.

    ...

  • RE: Getting the Last Integer values

    Hi guys,

    @T should be changeable one. It ends with '03' or '003' etc...

    I think that is the stuff here. ...

  • RE: Generate Script Creation Query

    Hi GSquared,

    Yes GSquared. i have to choose Append to file option in that.

    at last i got it.

    Thanks for your kind help. Thanks man :):):)

    ---

  • RE: Generate Script Creation Query

    hi GSquared,

    in that i selected drop option, if i use this i will not...

  • RE: Generate Script Creation Query

    Hi GSquared,

    Thanks GSquared for your quick answer.

    ...

  • RE: Which situation we go for CLR?

    Thanks you guys for your valuable information. 🙂

  • RE: Sql Statement

    Hi Chris,

    Some simply approach.

    DROP TABLE #Test

    CREATE TABLE #Test(ID int,MyDate DateTime)

    INSERT INTO #Test (ID,Mydate)

    SELECT 1,'2008-05-14 10:37:48.933'

    UNION ALL

    SELECT 2,'2008-05-15 10:37:48.933'

    UNION ALL

    SELECT 3,'2008-05-16 10:37:48.933'

    UNION ALL

    SELECT 4,'2008-05-17 10:37:48.933'

    UNION ALL

    SELECT...

  • RE: Query returns incorrect results.

    Hi nihcas77,

    Use COLLATE Latin1_General_CS_AS

    ---

  • RE: Create a rowID

    Hi Debbie Edwards,

    Try this one....

    DROP TABLE #test

    CREATE TABLE #test(PER_ID int,SCH int,COUNTS int)

    INSERT #test (PER_ID,SCH,COUNTS)

    SELECT 72997,675,1

    UNION ALL

    SELECT 77960,954,1

    UNION ALL

    SELECT 121084,903,2

    UNION ALL

    SELECT 121084,950,2

    UNION ALL

    SELECT 121431,669,1

    UNION ALL

    SELECT 121647,1081,1

    UNION ALL

    SELECT 131220,1083,1

    SELECT PER_ID,SCH,COUNTS,case COUNTS when...

  • RE: upper and lower case pattern detection?

    Hi peitech,

    One more 🙂

    DECLARE @t TABLE (name varchar(20))

    INSERT @t

    SELECT 'DeBeers'

    UNION ALL

    SELECT 'debeers'

    UNION ALL

    SELECT 'Test'

    UNION...

  • RE: XML

    Hi jzi,

    From this document you have to parse the xml?

    ---

  • RE: querying xml data/ out of memory exception

    Hi lothar,

    Can you tell what your expected result when you executing select statement?

    and try with the...

Viewing 15 posts - 46 through 60 (of 98 total)