Forum Replies Created

Viewing 15 posts - 2,956 through 2,970 (of 3,606 total)

  • 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...

  • RE: Create Extended Procedures

    You will need either C++ or Delphi experience to create the extended stored procedures.

    The libraries for SQL Server 7 and SQL Server 2000 are different.

    I would go with the suggestion...

  • RE: Selecting the Row Numbers from a table in a query

    Are there no combinations of columns in the table that could constitute a unique key?

    Couldn't transactionid and trandate consitute a unqiue key?

    If you could describe in more detail what it is...

  • RE: Really basic question..

    It isn't quite as simple as that.

    If your single table breaks normalisation rules then anything you gain on ease of retrieval will be lost on the difficulty of maintaining the...

  • RE: Update ALL Rows in one pass

    Unless you class the CAST(dbo.Tokens.Spams AS NUMERIC(18.4)) as simpler, no.

    The only time I use CONVERT these days is for Date conversions

  • RE: Update ALL Rows in one pass

    CREATE PROC usp_setScore AS

    SET NOCOUNT ON -- Suppress record count messages for a performance boost.

    --  Declare two variables.

    DECLARE @lGoodMails Int , @lBadMails Int

    --  Populate the variables with values from table1

    SELECT...

  • RE: Anyone pre-cache?

    Part of my test plans for development includes unit testing my stored procedures with known parameters and comparing the expected results with the actual results.

    OK, in a production environment you...

  • RE: View with read only option ?

    Yes,

    If you grant access via database roles then deny write access to the view for that particular role.

    If you grant access to users (after a smack on the wrist) deny...

Viewing 15 posts - 2,956 through 2,970 (of 3,606 total)