Forum Replies Created

Viewing 15 posts - 661 through 675 (of 709 total)

  • RE: Windows Authentication from web server?

    > I’ve noticed in the search option for adding logins the only object types for logins that are available are "users", "groups" and “Built-in security...

    Eddie Wuerch
    MCM: SQL

  • RE: transaction log grows too large

    With few execptions (bulk inserts in the bulk-logged recovery model), all database changes are written to the log first.  Later, another process captures those changes that have been committed and...

    Eddie Wuerch
    MCM: SQL

  • RE: Disadvantages of SQLXML

    Using it for what purpose?  Reading in XML?  Producing results as XML?  Using the SQLXML ISAPI framework with template queries?  Updategrams & diffgrams created with XSLT transformations of inbound XML...

    Eddie Wuerch
    MCM: SQL

  • RE: order by a varchar colum with ''''yy-projectnum''''

    Eight years ago, answering this question spawned an entire industry.

    You could put something together with a derived table, by adding a column to your original query, wrapping at all up...

    Eddie Wuerch
    MCM: SQL

  • RE: Performance issues with enforced relationship

    > What do you mean by foreign key column?

    In an enforced relationship, there are two sides to the equation:  The parent table (such as a list of customers), and the...

    Eddie Wuerch
    MCM: SQL

  • RE: Performance issues with enforced relationship

    Create a nonclustered index on the foreign key column(s).  Then the relationship-checking will use the indexes instead of running through the entire table.  SQL Server automatically creates an index on...

    Eddie Wuerch
    MCM: SQL

  • RE: The case for Remote Access

    If I were an internal admin, and it would be my butt on the line or me getting the midnight call when there was a problem with the server, then...

    Eddie Wuerch
    MCM: SQL

  • RE: Table Size

    It's stored in sysindexes, although that number isn't always up to date.  Take a look in BOL for the system stored procedure sp_spaceused for the recommended way to retreive that...

    Eddie Wuerch
    MCM: SQL

  • RE: Stored Proc Output not working?

    > Running the declare before executing the stored procedure worked in Query Analyzer, but I don't know if that can be done from a .NET application. 

    When you are building...

    Eddie Wuerch
    MCM: SQL

  • RE: Select from Partitioned View creates wrong plan

    I've had the same problem in the past when I forgot to create any of the CHECK constraints on the partition columns using the WITH CHECK clause.  That's very important. ...

    Eddie Wuerch
    MCM: SQL

  • RE: Stored Proc Output not working?

    For your error in the first case:

       Server: Msg 137, Level 15, State 2, Line 1 Must declare the variable '@outparam'

    Did you get this message when creating...

    Eddie Wuerch
    MCM: SQL

  • RE: Count for group

    Take a look at GROUPING and ROLLUP in BOL:

    SELECT CASE WHEN GROUPING(IVAN8) = 1 THEN 'All' ELSE IVAN8 END AS [IVAN8],
           CASE WHEN...

    Eddie Wuerch
    MCM: SQL

  • RE: using View or Stored Procedure to return a record set?

    Views and stored procedures serve different purposes, it is difficult to compare the two.

    The primary purposes of views is to simplify data access (by hiding the details of joining several...

    Eddie Wuerch
    MCM: SQL

  • RE: DB Design issue - Foreign Key

    If you see that you will often join the document table to the client table to look up client information using a DocumentID, when you have no need to also...

    Eddie Wuerch
    MCM: SQL

  • RE: FOR XML EXPLICIT formatting issue

    You need to include an ORDER BY:

    ORDER BY [Header!1!Id], [Child1!2!Child1Id], [Child2!3!Child2ID], [blah!blah!blahId]

    -Eddie

    Eddie Wuerch
    MCM: SQL

Viewing 15 posts - 661 through 675 (of 709 total)