Forum Replies Created

Viewing 15 posts - 1,336 through 1,350 (of 1,539 total)

  • RE: what will be the value of YEAR(GETDATE()) + MONTH(GETDATE()) + DAY(GETDATE()))

    Jeff Moden (12/29/2008)


    Just so you know... storing dates in a database like that is a form of "Death by SQL"... it will bite you sometime in the future.

    The only reason...

  • RE: Changing Taxonomy

    just to add-on to my thoughts....

    I'd prefer the topic section to contain all topics; which should be grayed when an improper version is selected.

    say a user has selected the...

  • RE: Sql database restore

    prasad (12/29/2008)


    Its happened by mistake and forgot to implement the backup policy. We have the full recovery model .

    Well that's the costliest mistake a DBA can make. I dont think...

  • RE: multiple instances in a single system

    Yes you can install more than one instance of SQL Server on a system.. Check maximum capacity specification on the limit of instances BOL... I guess its 50..

    To access u...

  • RE: Sql database restore

    If the database is important, why you dont have a backup policy in place?

    Without a full backup + log backup chains i dont think you can restore to point in...

  • RE: what will be the value of YEAR(GETDATE()) + MONTH(GETDATE()) + DAY(GETDATE()))

    Hmmm.. there was a silly copy/paste error in the following line :w00t:..

    set @a=convert(varchar, getdate(), 112) as int -- Implicit conversion to INT...

    You need to remove the part mentioned in bold...

  • RE: Expression

    Do you want this?

    --===========================

    declare @a varchar(100)

    set @a='myproc' -- This SP doesnt accept any parameter, myproc is an SP

    exec @a

    --========================

    --===========================

    declare @a varchar(100)

    declare @param1 varchar(100)

    set @a='myproc' -- This SP accepts a parameter

    set...

  • RE: Changing Taxonomy

    Hmmmm. I dont know if this will be of any use. but what i feel is the structure be divided into two parts. a) Version b) Section.

    A combo drop down...

  • RE: Return all Master and any child records

    interfac (12/27/2008)


    That does work, but I need the WHERE as it is to show the Child records for a User (for example All Products and Products ordered).

    What I understand from...

  • RE: Return all Master and any child records

    interfac (12/27/2008)


    I have tried using various OUTER JOIN combinations but the result is the same.

    its coz of the where condition..

    I tried something and i got desired result...

    =================================

    create table tab1

    (

    id...

  • RE: Re: Moving Databases

    I dont think u'd lose any data.

    refer BOL on checkpoints: ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/tsqlref9/html/ccdfc689-ad4e-44c0-83f7-0f2cfcfb6406.htm

    It says shutting down a database causes a checkpoint which means all the dirty pages would be written back...

  • RE: Query Help!

    by the time anyone even thinks of going in the right direction, the solution arrives at lightening speed!! Thats Jeff :hehe:

  • RE: Update Query Issue

    Next time i come up with a problem like that i'd rather use a checklist of all the points mentioned by Jeff and then try to strike a balance...

    All major...

  • RE: SQL Server 2005 new setup

    If the setup was completed successfully, Normally you enter the following in server name.

    machineName\InstanceName

    Check out the name of your pc and replace it with machineName and put SQLEXPRESS in place...

  • RE: Update Query Issue

    Also, the query that u're using to update plus index structures on your base table.

Viewing 15 posts - 1,336 through 1,350 (of 1,539 total)