Forum Replies Created

Viewing 15 posts - 76 through 90 (of 158 total)

  • RE: Running stored procedure in QA - ODBC Error

    On the Start menu, point to Programs/Microsoft SQL Server , and then click Client Network Utility.

    In the general TAB you will find Enabled and Disabled options. If Named Pipes is...

  • RE: Running stored procedure in QA - ODBC Error

    I have had this problem before and this is how I solved it I hope this will give you a little bit of help.

    I had MDAC ver 2.8 and was...

  • RE: Running stored procedure in QA - ODBC Error

    I need some more info about your setup

    What version and SP of SQL Server and what platform?

  • RE: LastWaitType = ASYNC_DISKPOOL_LOCK

    I think that you have a possible disk bottleneck.

    Use Performance provider to chech PhysicalDisk counters for confirmation.

    A pointer to look at (IMHO)

    % Disk time - If...

  • RE: Deferred Constraint Check

    You can use the following statement. You alter the table remove the constraint insert your data and alter the table to add constraint back...

    ALTER TABLE

    WITH NOCHECK

  • RE: SQL permission

    Declarative referential integrity.

    Data-integrity rules that will enforce the relationships between tables and keep the database as consistent as possible

  • RE: Full Table Scans

    Full table scan can be select * from table OR

    Ignoring indxes -- Which one is bugging you?

     

     

     

  • RE: Full Table Scans

    Hi,

    Use SQL Profiler and trace TSQL and Stored Procedure events.

    Then search the textdata column.

    I hope this helps...

  • RE: Calculating Disk space used by part of a Table

    Depending on the size of the table u could

    select column1,column2 into products where blah blah

    create table Spacetemp (name nvarchar(255),

    rows nvarchar(100),

    reserved nvarchar(255),

    data nvarchar(255),

    index_size nvarchar(255),

    unused nvarchar(255)

    )

    insert Spacetemp (name,rows,reserved,data,index_size,unused) exec sp_spaceused 'products'

    select *...

  • RE: Linked server (Provider ran out of memory)

    Hi,

    My 2 cents.. Does the Oracle table contain a numeric field? If so what is the precision? I can't remember the "cut off" precision that the provider can't handle. But...

  • RE: Check Status of Linked Server

    Try this.....

    DECLARE @object int

    DECLARE @hr int

    DECLARE @property varchar(255)

    DECLARE @return varchar(255)

    DECLARE @src varchar(255), @desc varchar(255)

    -- Create a SQLServer object.

    SET NOCOUNT ON

    -- First, create the object.

    EXEC @hr = sp_OACreate 'SQLDMO.SQLServer', @object OUT

    IF...

  • RE: Sub Query/Group

    In T-SQL you have different join types... 

    (INNER) JOIN

    A join that displays only the rows that have a match in both joined tables.

    OUTER JOIN - LEFT OUTER / RIGHT OUTER Joins

    A...

  • RE: Sub Query/Group

    Try this......

     

    SELECT    mm.title, aa.[name]

    FROM         movie mm INNER JOIN

                          casting cc ON mm.movieid = cc.movieid INNER JOIN

                          actor aa ON cc.actorid = aa.actorid

            and mm.movieid in(SELECT m.movieid

                 FROM    movie m INNER...

  • RE: MDX - Query Analyzer Linked Server

     

    Have you tried SET QUOTED_IDENTIFIER ON .....
    Does this help
     

    SET QUOTED_IDENTIFIER ON
    SELECT "[Promotion Media].[Media Type].[MEMBER_CAPTION]"
                 AS PromotionMediaType,
               ...

Viewing 15 posts - 76 through 90 (of 158 total)