Forum Replies Created

Viewing 15 posts - 47,746 through 47,760 (of 49,552 total)

  • RE: different behavior in view between 2000 and 2005

    It's not so much that the syntax has changed, but that SQL is now permitted to ignore the Top 100% ... order by construct where it appears anywhere other than...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Modify sys.sp_columns system stored procedure

    You can't modify the system objects.

    You're probably best off writing your own query against the catalog views sys.columns, sys.types, sys.tables...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: How can i get the user database from the particular server

    Select * from sys.databases where database_id > 4

    The syztem dbs have IDs from 1 to 4, the user databases from 5 up. (The system resource db is an exception, but...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL SERVER 2008

    You can get the latest CTP on the Connect site (https://connect.microsoft.com/SQLServer/content/content.aspx?ContentID=5395)

    It is beta software, so be careful where you install it.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: varchar datatype not writing all data to table

    It's a .net object that acts as a link between the connection and a data set. The adaptor gets told what the select, update, insert and delete

    statements for the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Many to Many joins,insert

    miltiadis (1/8/2008)


    There is also no link between professors and students

    Which is fine if you don't need to know who taught which student. If you do, you'll have to...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Indexing Newbie

    The event captures queries completing within procedures.

    Start profiler, connect to a server (I would suggest for a good workload, use the production server. If you use anything else, you...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Querying data data type

    Do your reals have decimal places?

    If not, just query based on the range that the smaller data types can handle

    Select * from Array_table where value between 0 and 127 --...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: MCTS [70-431] material & strategy

    SQL King (1/8/2008)


    What's up with all those people that want dumps rather than studying hard for the exam?

    Lazy perhaps. Seeking the quick and easy path.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: On-line Reference Books for SQL DBA

    Steve Jones - Editor (1/8/2008)


    Inside SQL Server is here: http://corporate.books24x7.com/home2.asp

    Ooohhhhhh........ :hehe:

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Indexing Newbie

    Try running profiler and capturing the SP:StmtCompleted event (under stored procedures). That will fire an event for each query in the stored proc. You're best off running profiler for a...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: On-line Reference Books for SQL DBA

    The inside SQL Server series are books, not online resources. They are very worth buying though.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: On-line Reference Books for SQL DBA

    The 2005 books online are excellent, and I strongly recommend the Inside SQL Server 2005 series, from Solid Quality Learning.

    First one (Storage engine) was written by Kalen Delaney

    Next 2 (T-SQL...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: different behavior in view between 2000 and 2005

    SQL 2005 ignores sorts in a view unless the number of rows is limited by a top statement.

    Views shouldn't have sorts in them. The sort should only be done on...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL Table Naming Convention

    If you really want to drive a DBA insane...

    CREATE TABLE [[dbo.[[[.[,] (

    [.[,[,] INT,

    [Max([.[,[,)] VARCHAR(10)

    )

    GO

    SELECT [.[,[,], [Max([.[,[,)] FROM dbo.[[dbo.[[[.[,]

    Yes, it's valid.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 47,746 through 47,760 (of 49,552 total)