Forum Replies Created

Viewing 15 posts - 31 through 45 (of 92 total)

  • RE: Tables Got Dropped!

    Thanks for the inputs.  Beside LogExplorer, there is no way to inform dba the object get dropped?  All I need is to know the object get dropped so that I...

  • RE: Mailing DBA when sql server Agent Fails

    You can run a query from system table and send you an email with attachment:

    SELECT * FROM msdb.dbo.sysjobs A, msdb.dbo.sysjobservers B WHERE A.job_id = B.job_id AND B.last_run_outcome = 0

    and enabled...

  • RE: Row To Column

    Sorry for not being clear enough. 

    Yes the table is huge meant there is about 2 millions records. However, it product will have 5 product choices is the most. And...

  • RE: Row To Column

    Thanks for the input.  However, the table is huge, I can not pass the product_choice one by one like your. 

    I think of some kind of cursor needed, but I...

  • RE: Automating the saving of DTS packages to .BAS format

    Can you try something like this.  It works for me when I saved the file as .dts, I don't know it will work for .bas or not.:

    DECLARE @TARGETDIR varchar(1000)

    SET  @TARGETDIR...

  • RE: How to drop the time portion of a column value?

    Will this one work for you?

    select convert(varchar(10), getdate(),101)

    Minh Vu

  • RE: Delete data

    thanks very much.  I worked for me.

    Minh Vu

  • RE: Restore Error

    thanks much.  I found that one too.

    Minh

  • RE: Replicate data option

    Will dts be able to handle restoring log files as well?

    Minh Vu

  • RE: calculate field

    No special reason at all, since I get used to isnull and convert function already.

    Thanks,

    Minh

  • RE: calculate field

    thank you so much for all of the help.  Based on Carl's input, I used self-join to work it out and it worked for me.  All I did is adding...

  • RE: Copy files accross the network.

    yes, it does have.

  • RE: Creating database

    Something just weird with sqlserver.  I fixed it by creating a new db from another sqlserver, copying the mdf files over and attaching it.  After that, everything came back normally. ...

  • RE: Creating database

    sqllog said: 'Starting up database testdb'

    windowlog had no error message.

    The weird thing is I couln't create the testdb, but why sql log said 'starting update database testdb'

    Thanks

    Minh Vu

  • RE: CPU spike issue

    I know that there are several issues with the application designs; however, I had a hard time to persuade the developers.  I captured a lot of embeded sql statement that...

Viewing 15 posts - 31 through 45 (of 92 total)