Forum Replies Created

Viewing 15 posts - 3,001 through 3,015 (of 3,658 total)

  • RE: VB code vs. Stored procedures

    Nancy,

    You are really doing research as a script writer for Dilbert column aren't you

  • RE: How to archive

    So the archive always contains a log of the changes that have been made to a record?

    The trigger method does mean that the archiving is done at the database level...

  • RE: VB code vs. Stored procedures

    In general I would keep SQL within stored procedures for umpteen billion reasons that have been discussed on this site.

    • Stored procedures are compiled
    • Are more secure
    • Can be debugged on the SQL...
  • RE: Cursor

    Without testing this I cannot say if my code below will be bug free but the first three queries simply don't need a cursor.

    Your cursor simply selects all users for...

  • RE: Alternatives to LIKE %word

    I've found that using string functions in WHERE clauses has a higher performance penalty than using LIKE with wildcards.

  • RE: How to store phone number

    I'm not sure that I agree with non-maths numbers stored in text.

    I would say that the rule of thumb would be that if a numerical value has to be displayed,...

  • RE: Problem with DELETE stmt

    The other thing to watch out for is the way in which SQL stores dates.

    For example, the default SQL Server install gives you dates in US format  Month/Day/Year.

    In Britain we...

  • RE: How to store phone number

    I always use a user defined type that equates to VARCHAR(20) and specifies that the phone number must contain at least one numeral.

    Things that get put in telephone number fields

    • Country...
  • RE: Upgrate from SQL7 to SQL2K or not

    I would like to add that if everything is working fine on SQL7 and you can install W2K on your new servers then I would limit it your costs to the...

  • RE: Question of the Day for 02 Nov 2004

    Ditto

    I've tried it on the standard edition,  Developers edition and Enterprise Edition so unless there is a QOD edition that I don't know about I can't see how they got...

  • RE: Upgrate from SQL7 to SQL2K or not

    Personally, given the imminent release of SQL2005 I would not upgrade SQL Server just yet.

  • RE: Question of the Day for 21 Oct 2004

    This has the feel of a deprecated feature and it has been deprecated for a reason.

    Try searching for it on the web let alone BOL!

    MIDDLE JOIN will only work if...

  • RE: Store MS Word document in a table

    Personally I would use the image field type.

    You need to write an app that reads the binary representation of the file then use the ADO.Stream object to post the file...

  • RE: StoredProc is slow from ASP but not from QA

    You could try running sp_recompile on your procedure.

    Also you have

    (select x1 from table1 where val1=main.val1 and weeknum=1),

    (select y1 from table1, where val1=main.val1 and weeknum=1),

    If this is literally what...

  • RE: swaping logins

    Permissions are assigned to the user so provided that you NT user has logon authority to your SQL box then you should be OK.

    As a general point I would assign...

Viewing 15 posts - 3,001 through 3,015 (of 3,658 total)