Forum Replies Created

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

  • RE: database growth size

    You can write a scheduled job which inserts the data of the database file sizes into a table. Schedule the job to work every month or what ever the...

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: Create table with table name passed by proc !

    edward (8/2/2008)


    Sorry to tell you it can't work.... :crying:

    I issue the following codes :

    DECLARE @ExStr varchar(500)

    SET @ExStr = 'CREATE TABLE dbo._X080805 (

    [ICno] [int] NOT NULL DEFAULT (0),

    [Xdate] [smalldatetime] NOT...

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: Daily Database Refresh

    Rebuilding an index means dropping and recreating the index.

    You can truncate the tables using Truncate table

    You dont have to shrink the database and it will grow anyway when...

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: move database from One server to a new one

    Do you have SSIS packages stored in the database?

    What about the scheduled jobs?

    Do you have replication in that server?

    You may have to take a backup of MSDB and restore it...

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: Calculating Business Hours based on the Shift Times

    Hi,

    Your post is quite unclear on the details.

    It looks like you haven't desinged the database yet. IF so, give the requirements clearly.

    If you have done the...

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: Common Functions & Stored Procedures for New Databases

    I actually put the common stored procedures into master. I have not tried with UDF. One of the reason is you need to refer them as master.dbo. ...

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: MMC could not create the snap-in.

    Try this:

    http://support.microsoft.com/kb/914157

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: Common Functions & Stored Procedures for New Databases

    I have created some of the common stored procedures (mainly related to Administration) in master. I have also used the prefix sp_ for them. It is stored ina...

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: Installing SQL Server on c drive

    Danny (3/12/2008)


    From what I seen there is no problem having SQL server installed on c:, looks like this is the default and most common way.

    Have you ever tried to get...

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: Installing SQL Server on c drive

    I have installed SQL Server and the data files in C Drive in the past, and no at least one reason for it.

    Windows has its own temp files and page...

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: Moving SQL System databases

    You can do through Enterprise Manager too. I have done that.

    BTW, while moving system databases, detach and attach one database at a time. (Or atleast do in the...

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: Moving SQL System databases

    Please read this article:

    http://www.sqlservercentral.com/articles/Administering/movingsystemdatabasesachecklist/1608/

    Specially check this step:

    After adding the parameter "-T3608" did you re-start the server?

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: Bookmark lookup

    Additionally, if your query is not supported by a single non clustered index, there is a high possibility of book mark lookup.

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: Bookmark lookup

    Can you submit the query and table structure (with indeces)?

    Also note that the execution plans may vary based on the load. If your indexes are statistics are up...

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

  • RE: Query improvement

    In addition to others mentioned,

    Specially on the month issue,

    If you know the years of data stored within the table and if it is only few, You can use >=...

    Cheers,
    Prithiviraj Kulasingham

    http://preethiviraj.blogspot.com/

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