Forum Replies Created

Viewing 15 posts - 1,381 through 1,395 (of 1,539 total)

  • RE: converting nvarchar to integar

    create table #temp1

    (col1 nvarchar(10))

    insert into #temp1

    select 1

    union all

    select 100

    union all

    select 1001

    union all

    select 20

    union all

    select 500

    select * from #temp1 order by cast(col1 as int)

    ** this wud run only if col1 has...



    Pradeep Singh

  • RE: Temp Table Existance

    i'm not sure abt coldfusion. all i know, each connection will initiate a user session at DB level. IF u've 10 browsers each connecting to the db, there will be...



    Pradeep Singh

  • RE: duplicate data

    delete from nbdocdeletedrecords where replicationID in (

    select min(replicationID) from nbdocdeletedrecords

    group by towid

    having count(*)>1

    )

    ** ReplicationID is primary Key

    **deleting based on towid... min(replicationID)



    Pradeep Singh

  • RE: How Much RAM - SQL Server 2000 on Server 2003

    Hmmm... never tried that buddy. was browsing through Microsoft's web-sites and found few links.

    2000 BOL

    When awe enabled is set to 1, AWE memory is used, and the instance can access...



    Pradeep Singh

  • RE: How Much RAM - SQL Server 2000 on Server 2003

    That depends on the max limit you've set on ur database which should be less than or equal to the max limit set by Microsoft. It keeps on adding and...



    Pradeep Singh

  • RE: a

    ?



    Pradeep Singh

  • RE: duplicate data

    1.

    your first query doesnt contain username condition

    Select count (*) from tower.nbdocdeletedrecords

    Where scandate = '12/13/2008'

    and slevel = 6

    and username = 'SQLKofc'

    2. is towID primary key on the table? OR can it...



    Pradeep Singh

  • RE: load five sources into five destinations

    do u mean u have five flat files corresponding to five tables into which u want to load the data?

    If yes, do u also mean that u're constantly adding records...



    Pradeep Singh

  • RE: i wnat to get all records from start date and enddate when ever it is run

    WHERE ORDERDATE BETWEEN min(orderdate) AND max(orderdate)

    This part of the query is culprit.

    You just need to omit this condition. I guess u need...



    Pradeep Singh

  • RE: Temp Table Existance

    hefterr (12/22/2008)


    Just wasn't sure what is the definision of the "session".

    Session - You write a query in a query window in SSMS, that's a connection to the server and a...



    Pradeep Singh

  • RE: Temp Table Existance

    Just a point to make.

    If You're using Create table #myTempTable (), it'd be dropped automatically when the session that created it is terminated.

    If you're using SELECT * INTO #myTempTable...



    Pradeep Singh

  • RE: Transaction Log Size

    Thanks for correcting Gail :). Actually i meant what you've written. was a slip off :w00t:



    Pradeep Singh

  • RE: Transaction Log Size

    What is the frequency with which u're taking transaction log backup vis-a-vis transaction volume?

    try reducing the frequency of tran log backups. this will flush out inactive transaction more frequently from...



    Pradeep Singh

  • RE: COPY_ONLY(BACK UP & RESOTRE)

    That link is from BOL(SQL Server 2005 Books Online) and not an internet url.

    Refer to following URLs

    http://msdn.microsoft.com/en-us/library/ms186865.aspx

    http://technet.microsoft.com/en-us/library/ms191495.aspx

    btw i never mailed you!!



    Pradeep Singh

  • RE: Moving Jobs from one sql server 2005 to another sql server 2005

    Incidently i too got that error when i tried to fire some queries after restoring DBs. i ran my query again and didnt get the error again 😉



    Pradeep Singh

Viewing 15 posts - 1,381 through 1,395 (of 1,539 total)