Forum Replies Created

Viewing 15 posts - 8,056 through 8,070 (of 9,641 total)

  • RE: column alias

    I'm not sure why you do the convert(int, '2') instead of just 2, but if you are setting a constant you can just use the constant in your join. ...

  • RE: Get first and last date of supplied week & year

    I think this almost works although for me week 18 would be 5/4-5/10. How do you know that week 18 is 4/27-5/3?

    [font="Courier New"]SELECT

       DATEADD(week, 18, '1/1/2008') AS date,...

  • RE: Regd VB code small issue

    Replace your problem code and the delete that follows it with the code I provided.

  • RE: Convert nanoseconds since 1/1/1601

    Sounds like you have a really huge number on your hands then, or you have some non-numeric data in that column. I'd usually try to break the problem down...

  • RE: Regd VB code small issue

    It might help if you told us what the error is. Also why don't you just rename the file:

    Dim oFile

    oFile = FSO.GetFile(CopyFromSpec)

    oFile.Name = CopyToSpec

  • RE: VERY STRANGE QUERY

    That's why I'm wondering about fragmentation. If the index is fragmented then seeking is making you jump all over the place in the chain whereas scanning is running as...

  • RE: Please assist me

    Duplicate post. There are more answers here: http://www.sqlservercentral.com/Forums/Topic548448-146-1.aspx

  • RE: memory Issue

    Your cache ratio is low. So finding out why SQL Server is not grabbing more memory will help as it appears you have is available, but if you are...

  • RE: VERY STRANGE QUERY

    Sorry I did not see the first post wher you ask the best way to post the Execution plans. My preference is to save the graphical execution plan in...

  • RE: Convert nanoseconds since 1/1/1601

    You are going to have to do some interesting work to get this up because the Datetime datatype starts at 1/1/1753. Here is how I think you need to...

  • RE: memory Issue

    1.9 is being used and there is 3 being available.

  • RE: memory Issue

    I'm not sure the issue is the amount of RAM as you are not using all that is available. You have 5gb available to the server and SQL is...

  • RE: SQL Profiler question

    You need to include the ApplicationName column in your output and then you can set a filter on that column for your application name. Of course in order for...

  • RE: memory Issue

    Target Server memory is the max SQL Server will consume.

    Total Server Memory is the amount that SQL Server IS using.

    Are you running 32-bit or 64-bit? If you are running...

  • RE: VERY STRANGE QUERY

    Post the execution plans, I'd be interested in seeing how SQL Server is pulling this off!

Viewing 15 posts - 8,056 through 8,070 (of 9,641 total)