Forum Replies Created

Viewing 15 posts - 6,181 through 6,195 (of 7,187 total)

  • RE: Cummalitive addition

    Is there a question here, and if so what is it?

    John

  • RE: Modify File OS error 112

    I believe OS error 112 relates to disk space. I know you say you have 63GB free, but have you checked the free space on the drive where the...

  • RE: Need help resolving blocking problems

    Use DBCC INPUTBUFFER to see what query is running on the blocking process. Then go through the normal steps to troubleshoot that query - eliminating any row-by-row processing, ensuring...

  • RE: SELECT using MAX

    I haven't tested this, but even if it's not entirely syntactically correct, it'll point you in the right direction.

    SELECT m.IdSeq, m.MyName

    FROM MyTable m JOIN (

    SELECT MAX(IdSeq) AS IDS

    WHERE KeyValue =...

  • RE: RESTORE DB WITHOUT LOG FILE

    pamarant (11/15/2007)


    If that db crashes at 12:40PM, you can only recover up until your last full backup and apply any differential and log backups, for which you would have none.

    Not...

  • RE: problem with join operation

    Sorry but we're not going to do your homework for you unless you show you've made some attempt to solve the problem yourself.

    John

  • RE: Data containt ' mark

    SELECT * FROM MyTable

    WHERE MyColumn LIKE '%''%'

    John

  • RE: Trigger Trivia

    Great article, Andy - thanks. Can I just ask a question about Tip#4?

    If you want to really make sure no resultsets occur you can use spconfigure to set disallow...

  • RE: in results... display everything after a certain character??

    I think by "a quick example" you mean you want us to do all the work for you. You've been posting here for a long time so I don't...

  • RE: stored procedure issue

    If you're writing the procedures yourself, rather than working with existing ones, then why not just use an output parameter to return the name(s) of the table(s) used? You...

  • RE: Help with Dynamic SQL in Views

    You can't use dynamic SQL in a view, since you would need EXEC or sp_executesql to execute the SQL, and a view definition can only consist of a SELECT statement....

  • RE: Defining an SQL string and assigning it to a procedure variable

    Ties

    No, but you can create a user-defined function instead. Look in Books Online for CREATE FUNCTION.

    John

  • RE: How to know when the user login last time used?

    You can script it using sp_configure (I think), or you can use the GUI. It's all in the documentation if you search for it. Set up a test...

  • RE: How to know when the user login last time used?

    Look at the SQL Server Properties (Security Tab) topic in (the most recent version of) SQL Server 2000 Books Online.

    John

  • RE: Aggregate Function

    Well, if you have a standard installation it's Start -> All Programs -> Microsoft SQL Server 2005 -> Documentation and Tutorials -> SQL Server Books Online. It's all on...

Viewing 15 posts - 6,181 through 6,195 (of 7,187 total)