Forum Replies Created

Viewing 15 posts - 3,781 through 3,795 (of 7,496 total)

  • RE: global temp table issue

    JacekO (4/15/2009)


    ...I tried to exeute it directly in query window to test it's impact on the temp tables but the server claims it does not exist. So who the heck...

  • RE: Restrict Truncation in the tables

    An other alternative to Gregs proposal:

    (Only a referenced table cannot be truncated without first removing the relationship.)

    from BOL: "Truncate table"

    You cannot use TRUNCATE TABLE on tables that:

    - Are referenced...

  • RE: Update statistics

    As I learned from Gail Shaw, the issue of outdated statistics with sql2000 caused by the way your data is added/deleted/updated shouldn't be an issue with sql2005 anymore. Its statistics...

  • RE: global temp table issue

    from bol:

    Temporary Tables

    You can create local and global temporary tables. Local temporary tables are visible only in the current session, and global temporary tables are visible to all sessions. Temporary...

  • RE: Adventure Works 2008 OLTP DB

    Aparently The BusinessEntity table is an implementation of a SuperType table.

    Tables Person, Store and Vendor are Subtypes

    As is with that implementation, BusinessEntity only provides a means of unique key for...

  • RE: SQL server 2008 Build List

    Can you add SP1 ? support.microsoft.com/kb/968369

    BTW. your version numbers are incorrect !

    They don't publish like 10.00.***

    but the results I get are like 10.0.*** (SP1)

    (with both

    SELECT SERVERPROPERTY('productversion')

    select @@VERSION

    )

    And...

  • RE: Queries with SMO

    You are correct.

    Apparently MS is also promoting the .Net infrastructure to achieve optimal integration.

    If you are developing a new application it is recommended that you consider using ADO.NET and the...

  • RE: Queries with SMO

    Tasumy (4/15/2009)


    Ok thanks.

    In conclusion :

    - for managing sqlserver : SMO

    - for query : ADO.Net with .NET Framework Data Provider for SQL Server

    Use SQLNCLI as much as you...

  • RE: Adventure Works 2008 OLTP DB

    Technically that isn't a problem.

    However, symantically that doesn't make sence to me.

    If the BusinessentityID is non nullable, you must first assing the person to an existing business entitiy ?

    If BusinessentityID...

  • RE: How to manage huge table that contains xml

    XML columns start "in row" ...

    My little test: ( never mind the xml content 😉 )

    -- my test database

    Create database SSC_Test

    go

    use SSC_Test

    go

    Create table T_SSC (

    ...

  • RE: Connecting to SQL Server 2005 from [Windows server 2008] machine remotely

    - Is you sqlserver instance enabled for tcp/ip connections ?

    - is there a firewall active ? (you may need to open some ports)

  • RE: How to manage huge table that contains xml

    manohar (4/14/2009)


    As per the table structure there are only two columns

    QuestionID BIGINT (Primary key)

    QuestionXML NTEXT

    Will it be a problem if the datatype is NTEXT...

    And also we wil store XML...

  • RE: Queries with SMO

    SMO stands for SQLServer Management Objects.

    Meaning a layer with a number of methods and properties specifically made for managing sqlserver.

    You wouldn't want to use that layer for your "normal" querying...

  • RE: Query for Time Differences in Hours

    New Commer (4/15/2009)


    Hi ,

    for a process the time frame is

    -StartDate-|-EndDate-|--Starttime-|-EndTime-

    -15/04/09-|-16/04/09-|---10:00---|--14:30--

    both days the total hrs spent on the process is 9 hrs

    Now how to get the result via query...

  • RE: Adventure Works 2008 OLTP DB

    Typical for a child object is that it cannot exists without a parent object.

    So the parent object has to exist first, only then you can use that parent key in...

Viewing 15 posts - 3,781 through 3,795 (of 7,496 total)