Forum Replies Created

Viewing 15 posts - 361 through 375 (of 412 total)

  • RE: System Stored Procedures that aren't

    They were fully qualified, and they are going into the correct database. They were meant to be stored in master per the company standard policy, and they were. ...

  • RE: SQL 2005 reading file attributes

    Well, I stand corrected in 2K at least. I have only used 2K5 for a while now, but always good to learn things I didn't know before.

  • RE: SQL Server 2005 SP2 Cursor does not complete

    Can you provide more detail? Its hard to say much based on this so far.

  • RE: System Stored Procedures that aren't

    Ah, of course, you have to love all of the new features. 😉

  • RE: System Stored Procedures that aren't

    Jeff Moden (12/15/2007)


    Actually, it's a common problem... take a look at what you have for a "default catalog" when you login... credits to Navy beans says it's "Master".

    That it is....

  • RE: System Stored Procedures that aren't

    I know what sp_ms_marksystemobject does. Maybe it would have been more clear if I had said I only use create procedure and that is all. Some of...

  • RE: System Stored Procedures that aren't

    No, I always use create stored procedure Name

  • RE: create 100 GB

    Assuming all your harddisks have that much free space available, I don't see any reason not to stay with what you have.

  • RE: tricky select question

    TaffyLewis (12/14/2007)


    select t1.A, t1.C, t2.C

    from t1 inner join t2

    on t1.A = t2.A

    and t1.C = t2.C

    t2.c is the date field

    When I try to run the Max on this I generate...

  • RE: BCP Stored Procedure

    Jeff Moden (12/13/2007)


    [font="Courier New"]SET @Cmd = 'DEL \\dt-sc2\shares\Data.txt'

    EXEC Master.dbo.xp_CmdShell @Cmd[/font]

    If you are a stickler for avoiding error messages like I am you could add xp_fileexists to Jeff's piece to avoid...

  • RE: tricky select question

    TaffyLewis (12/14/2007)


    I've been trying to get this query to work all afternoon.

    I have 3 fields A, B and C in a table. Field C is a datetime...

  • RE: What Would You Do?

    The first big question is if the company has a policy regarding access to certain information. I have dealt with institutions that require certain people be notified any time...

  • RE: XP_Sendmail

    I have seen similar issues and do not have a true solution, but a possible work around would be using xp_cmdshell with the script that is sending the mail to...

  • RE: Dynamically changing table schema in query - with no dynamic sql

    If you can add a column which differentiates which table is which in some fashion, something as simple as a column that directly lists a table name or perhaps giving...

  • RE: truncating data older than 30 days

    The first thing to do is create a stored procedure to actually accomplish the deletion for you and test it safely. IT could be something as simple as :

    create...

Viewing 15 posts - 361 through 375 (of 412 total)