Forum Replies Created

Viewing 15 posts - 841 through 855 (of 1,079 total)

  • RE: To get the System Login

    select @@version

    union

    select current_user+' '+'as'+' ' +system_user

    something like this?

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Connection strings issue

    try:

    http://www.connectionstrings.com/

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Preventing a job from running twice simultaneously

    make use of a table, with a 0 and 1 value, with date.

    each time the job has started, it writes a date and value of 1 in the table.

    configure the...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Job

    The sequence requires an older log to be restored first and then the newer one.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Tempdb is not being shrinked

    update stats on your tempdb after shrink.

    use tempdb

    go

    exec sp_updatestats

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Hello, I am using SQL 2005, I right-clicked a database's tables and saved its table scripts as a text file or sent it to a new Query window.

    and what was it?

    it's always good practice to explain the solution, whenever we can't assist you, that way, we learn as well.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Hello, I am using SQL 2005, I right-clicked a database's tables and saved its table scripts as a text file or sent it to a new Query window.

    script out the keys, NC Indexes, etc and add them to the bottom of your script (create table script)

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Warning while opening the database properties enterprise mgr

    Do a repair on your SQL 2000 installation.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: disadvantages

    with regards to? using it as a source/destination? please give more detail.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Hello, I am using SQL 2005, I right-clicked a database's tables and saved its table scripts as a text file or sent it to a new Query window.

    Yes, because there aren't any.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Converting a date

    have your statement look at everything > than....

    SELECT [Yesterday] = DATEADD(DAY, -1, DATEDIFF(DAY, 0, CURRENT_TIMESTAMP));

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Script tables but why not include their non-clustered indexes ?

    duplicate post.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Hello, I am using SQL 2005, I right-clicked a database's tables and saved its table scripts as a text file or sent it to a new Query window.

    I'm using SQL 2005 Express, and scripting the dbo.backupFile table on msdb, scripts out everything, columns, keys, indexes etc.

    USE [msdb]

    GO

    /****** Object: Table [dbo].[backupfile] Script Date: 04/15/2010...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: which software?

    MS SQL has built in functionality to do this...

    log ship, replication......

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: DB file paths help!

    sp_helpdb master

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

Viewing 15 posts - 841 through 855 (of 1,079 total)