Forum Replies Created

Viewing 15 posts - 12,331 through 12,345 (of 14,953 total)

  • RE: Is Database Mail provided with 2005 Workgroup Edition?

    I've used workgroup edition. It does include database mail.

  • RE: CTE / VIEW

    Barry, when I said, "your" I meant Milu's. He miscopied yours.

    Milu, I actually answered on behalf of a number of other people, including Jeff Moden. If you look...

  • RE: Finding the last day of the month, for a date range

    declare @SDate datetime, @EDate datetime

    select @SDate = '1/8/2008', @EDate = '3/8/2008'

    select

    dateadd(month, number, -- Months in range

    dateadd(day, -1 * datepart(day, @SDate), -- Last Day of (prior) month

    dateadd(month, 1, -- Following...

  • RE: Temporary Tables

    Temporary tables can actually be quite valuable. I don't know of a specific single-source of data about using them. Best bet is starting with Books Online and doing...

  • RE: Questions about index and table fragmentation

    On small tables, SQL will sometimes not even bother doing anything if you tell it to defrag the index, because the fragmentation doesn't matter. On really small tables (I...

  • RE: Duplicate Records

    The easiest solution is going to be deleting from the combined table, before the final upload. You could dump them in the load from the vendor-specific tables, but that's...

  • RE: TEMP DB FULL

    On the cursors questions, take a look at the system views. There are a set of them for cursors.

  • RE: Need Help in SQL 2005 performance Tuning

    RAM utilization could definitely be an issue. If any of the reports are big enough, and you don't have the server configured to use all that RAM, they'll end...

  • RE: sql server 2005 Developer Edition to SQL Server 2005 Migration

    There isn't "a" plan for that kind of thing. It depends too much on what you're doing, in what environment.

    You say you're migrating your production environment from Dev to...

  • RE: CTE / VIEW

    Milu (8/11/2008)


    your code...

    Create View vwRecursiveAW AS

    WITH DirectReports(ManagerID, EmployeeID, EmployeeLevel) AS

    (

    SELECT ManagerID, EmployeeID, 0 AS EmployeeLevel

    FROM AdventureWorks.HumanResources.Employee

    WHERE ManagerID...

  • RE: Query times out from web app but runs fast from enterprise manager

    That's definitely odd. Are you certain that it's the SQL server that's timing out, and not something else in between the page sending the query and getting the data...

  • RE: Separate Login for a query in a stored procedure

    If you set up roles on the server (Security tab), you can tell a job to run under a particular login/role.

  • RE: Find the creation date of the column

    I don't know of a way to do that in SQL Server itself. Might be one, but I don't know of one.

    If you have a log parser, you should...

  • RE: [help] why SQL Server 2005 consume all of memory

    I'm assuming you mean gigabytes, not gigahertz, for your amount of memory.

    There's a setting in your server options for maximum (and minimum) memory. You need to make sure that's...

  • RE: Learning TSQ-L

    My personal favorite is the SQL Server Bible series by Paul Nielsen.

    What I really recommend, though, is go to a bookstore with a good IT section. Take a list...

Viewing 15 posts - 12,331 through 12,345 (of 14,953 total)