Forum Replies Created

Viewing 15 posts - 8,161 through 8,175 (of 9,641 total)

  • RE: Help with trigger performance

    It looks like you are running the same code in IF and the ELSE. If your goal is to remove Line Feeds from the value column then you all...

  • RE: SQL Agent Scheduling

    Simple minds only see the simple solutions

  • RE: Stored Procedures Reconsidered

    scott.w.white (7/31/2008)


    jezemine (7/31/2008)


    giving an app direct access to all your tables is like writing a class where EVERY member is public.

    both are bad ideas.

    Not really you control your access still...

  • RE: Ordering Multivalued/compound Attributes

    I'm not saying that this is the best way, but I have always had (in the US) address tables with Address_1, Address_2, Address_3, although in the US it is rare...

  • RE: SQL Agent Scheduling

    I think I have a workable solution that is relatively simple. Create your daily job and do not schedule it and your first of the month job with a...

  • RE: Using Profiler traces to test index changes for optimization

    I can't say that I have actually done it, but not only can you replay a trace after creating indexes but you can use a saved trace as the workload...

  • RE: Data Modification

    The code should work in an update statement as well. I notice in the code you have posted you are missing the 'END' for the CASE statement and I...

  • RE: Stored Procedures Reconsidered

    sgoldman (7/31/2008)


    - Do you find yourself writing a substantial new set of Stored Procedures for each new application? Or do you normally set up the bulk of the...

  • RE: Can i schedule profiler into sql server

    I'm glad we got you up and running. Now it's time for you to dive into BOL (Books On Line) and read up on sp_trace_create. It has all...

  • RE: SQL2K5 and Crystal Reports

    Are you sure that SQL Express was installed as a named instance and not as the default instance? With 2005 you can install SQL Express as the default instance....

  • RE: SQL2K5 and Crystal Reports

    Is there only 1 instance of SQL Express running on the server? Did the default port get changed?

    If your Windows user is a login to the box and a...

  • RE: sql help

    antonio's solution and my solution are very similar, either should be a major improvement. I like the CTE syntax because I find it cleaner and easier to read.

  • RE: sql help

    You can definitely eliminate the sub-queries if I understand what you need. I would probably do this in a couple of passes, just to make it easier to read...

  • RE: Can i schedule profiler into sql server

    You have to provide sp_trace_setstatus 2 parameters. Parameter 1 is the traceid and parameter 2 is the status. So you need:

    sp_trace_setstatus @traceid = traceid, @status = 0

    to stop...

  • RE: SSIS Send Mail Issue

    I actually encountered the problem in BIDS where my process would run but the SendMail task would fail. One way to test it on the SQL Server is to...

Viewing 15 posts - 8,161 through 8,175 (of 9,641 total)