Forum Replies Created

Viewing 15 posts - 3,346 through 3,360 (of 9,643 total)

  • RE: fincial years

    Normally the best the way to handle date issues like this is with a calendar table. Something like:

    Date, Calendar Year, Fiscal Year

    You can always add things like Quarter and...

  • RE: Is it possible to use SQL Server Profiler and filter by user?

    Yes, you can filter based on NTUSerName, LoginName, or SessionLoginName. Here's the differences:

    • NTUserName - is the windows user name. Is blank if a SQL login is used
    • LoginName -...

  • RE: Installation of SQL Server 2005 64-bit version

    1. No you can't install a 64-bit application on a 32-bit OS.

    2. Yes, you can install 32-bit applications including SQL Server on 64-bit OS. Drawback would be...

  • RE: Multivalue cascading parameters

    I'm not sure that this link exactly addresses your issue, but you might find it helpful.

  • RE: data migration

    Florian,

    Yes, the lookup can be a performance killer if you can't cache the lookup rows because it may have to query the lookup source for each row. Lookups perform...

  • RE: data migration

    There's not much to expand on. You define a query, select the column(s) to match on and the column(s) to pass through. You just need to be aware...

  • RE: How and Where is profiler trace file scheduled/coming from?

    In your case the default trace is NOT id 1. The default trace is id 2. The default trace will NEVER have more than 5 files, it is...

  • RE: SQL2005 32 bit to 64 bit migration path

    You can restore, detach/attach from 32 to 64 bit no problem as the file formats are identical.

  • RE: How and Where is profiler trace file scheduled/coming from?

    You need to be careful. It sounds like C2 or Common Criteria Auditing is enabled. Run this to see:

    sp_configure 'show advanced options', 1;

    GO

    RECONFIGURE;

    GO

    sp_configure 'common criteria compliance enabled';

    GO

    sp_configure 'c2...

  • RE: Compare values from 2 tables

    You want to do a a LEFT OUTER JOIN. With tbl_Prod_Machines as the left (first) table. Then your case would be when [column from right table] is null...

  • RE: Unable to receive Database Test Mail

    Is Service Broker enabled in msdb?

    SELECT is_broker_enabled FROM sys.databases AS D WHERE name = 'msdb'

    Should return 1.

  • RE: Best way to run multiple SPs via an ASP script

    I don't know if you'll have timeout issues. Mainly because I've never done it. I just know it can be done. I'd think you'd be all right...

  • RE: query taking a lot of time.

    I'm not sure what to suggest here since you are getting a clustered index seek in the execution plan. I was thinking that the LIKE operator with leading wild...

  • RE: JOIN ON vs. WHERE

    Matt Miller (#4) (1/29/2010)


    keep in mind that getting the same results stops being true when those inner joins turn into outer joins.

    Jack - what's non-ANSI compliant in Query 1? ...

  • RE: JOIN ON vs. WHERE

    Interesting. Must have something to do with your distribution of data. I have tried this on my PC using AdventureWorks (2005) and can't duplicate your results.

    It would be...

  • Viewing 15 posts - 3,346 through 3,360 (of 9,643 total)