Forum Replies Created

Viewing 15 posts - 2,236 through 2,250 (of 3,655 total)

  • RE: What is object zero in a database

    Yes indeed and as its on a 1TB I was relieved when it reported no errors.

    The suspicion is that as the staging table is TRUNCATEd the pointers in the index...

  • RE: What''''s the best way to keep data in synch?

    We have databases getting on for a TerraByte and have to be very careful with replication.

    If you generate a snapshot then while the snapshot is being generated the tables get...

  • RE: Performance Effects of NOCOUNT

    Thanks for this Eric, do you know what is in the packets that are returned?

  • RE: Copy a table?

    If you want to speed up the insert and you don't have identity/autonumber fields you can do

    SELECT * INTO dbo.NewTable FROM dbo.SourceTable WHERE 1=0

    Followed by

    INSERT INTO dbo.NewTable SELECT *...

  • RE: Copy a table?

    The quick and dirty method is

    SELECT * INTO NewTable FROM sourcetable

    However, if the sourcetable is large then this may impact on your servers performance.

  • RE: Document Your Database

    You can also right-click on the object in the object tree within SQL Query Analyser

  • RE: SQL Performance Mystery

    The query optimiser may have detected that it needs to run a query in a different way and therefore has generated a new execution plan.

    Have a look what tables are...

  • RE: Document Your Database

    Don't forget Innovasys DocumentX. It covers SQL Server, Oracle, Access and also does .NET assemblies, Visual Studio projects, ActiveX and VBA.

    After using a proper tool I wouldn't use a...

  • RE: The End of the Line

    I'll be 40 in February and the past two years have been an eye opener.

    I left a job that paid well, was within cycling distance of home and had colleagues...

  • RE: Automated Monitoring Database Size Using sp_spaceused

    If anyone is interested the SQL2000 equivalent is

    USE Master
    GO
    CREATE PROC dbo.sp_DBA_spaceused_AllTables2
    @updateusage varchar(5)='false'
    AS
    SET NOCOUNT ON
    
    IF @updateusage IS NOT NULL
    BEGIN
    -- Allow for case sensitivity
    SET @updateusage=LOWER(@updateusage)
    IF @updateusage NOT IN ('true','false')
    BEGIN
    RAISERROR(15143,-1,-1,@updateusage)
    RETURN(1)
    END
    END
    
    -- Retrieve the current...
  • RE: Automated Monitoring Database Size Using sp_spaceused

    I seem to remember that there is a non-documented stored procedure that runs the resultset of a query.

    In some situations I do build up a string of commands and then...

  • RE: TinyInt, SmallInt, Int and BigInt

    Thanks for the comments Andy and Jeff. I don't get too worried about criticisms, we are fortunate enough to live in a democracy and as Voltaire said.

    I disapprove of...

  • RE: Introduction to Bitmasking in SQL Server 2005

    What do you get when you cross a sheep with a bee?

    Baa Hum Bug

  • RE: Introduction to Bitmasking in SQL Server 2005

    I've got to put up a Christmas tree, swear at the lights, murder a few carols and fight with relatives, but I will give it a go after Christmas and...

  • RE: Introduction to Bitmasking in SQL Server 2005

    In 192.168.2.10 the octets would be as follows

    1. 192
    2. 168
    3. 2
    4. 10

    Would I be correct in thinking that by using the most changing octet SQL Server is most likely to think that the...

Viewing 15 posts - 2,236 through 2,250 (of 3,655 total)