Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)

  • RE: Generating a Distinct Delimited List Using XML

    Appreciate your article.

    This is with lot of explanation, but we can achieve the output more efficient way with the sorting of rolename also:

    select distinct a.userid, substring(b.rolename, 1, len(b.rolename )-1)...

  • RE: How can we retrieve the deleted data from

    Actualy, I have updated some data in my database and want to retrieve that data.

    But I don't know how to retrieve that data.

    I have also read some topics...

  • RE: SQL Server 2005 user login

    Hi Vikas and Andrew,

    I have created two logins, login A and B. After that, I made the Login A as db_owner and create a new schema with the name of...

  • RE: Select all tables from all databases using T-SQL

    Hi,

    It's good query, but it not works in SQL 2000

    Is there any query, which will give the same outpur and can use in SQL 2000

  • RE: How to display number of rows in each table in database

    Hi,

    You can use this query to get the tablename and rowcount of a database

    select so.name, si.rowcnt from sysobjects so

    join sysindexes si on so.id = si.id and so.type = 'U'

  • RE: How to generate email from database( MS SQL SERVER 2000 or 2005)

    Thanks all,

    I downloaded the XPSMTP80.DLL and added it in database. Now I able to generate the mail.

    But I think that the dll file XPSMTP80 was made by some person with...

  • RE: how to replace uncounted multiple commas into one comma

    Hi,

    Try this on this way....

    create table #table

    (

    row1 varchar(1000)

    )

    insert into #table select '01008,03072,0045,R,,,,,,,,,,,,,,,,,,,,,,,,,,,,,-17'

    insert into #table select '01008,03072,0046,R,,,,,,,,,,,,,,,,,,,,,,,,,,,,,311'

    insert into #table select '01008,03072,0048,R,,,,,,,,,,,,,,,,,,,,,,,,,,,,,12336'

    insert into #table select '01008,03072,0049,R,,,,,,,,,,,,,,,,,,,,,,,,,,,,,986'

    insert into #table select '01008,03072,0056,C,,,,,,,-1057'

    insert into #table...

Viewing 7 posts - 1 through 7 (of 7 total)