Forum Replies Created

Viewing 15 posts - 2,896 through 2,910 (of 3,615 total)

  • RE: Single quotes in VARCHAR and TEXT

    It depends on what language I am working with and whether I can use ADO/ADO.NET.

    If I am passing a web input or textarea box then providing I am assigning the...

  • RE: A Look at MYSQL

    My first reaction to MySQL was that traditional databases cost money for a reason.

    The more that I have used MySQL the more I find I like it although FK support,...

  • RE: I have a question about duties of a DBA vs. Network Admin..

    Short of spending a lot of time documenting use cases for your stats or training up you network admin I can't see any easy solution here.

    I think it is a...

  • RE: Recommendations for learning SQL Server

    There used to be an independent SQL Server exam prep books that were quite detailed.

    Having worked with an ORACLE developer he gained a grudging respect of SQL Server, mainly due...

  • RE: Time Zones

    If you want to store time accurate to the minute then use SMALLDATETIME otherwise use DATETIME.

    If the various locations are in the same country as the server  then use the...

  • RE: Returning rows as columns

    SELECT DC.CollectionName ,

     MAX(CASE CA.AttributeType WHEN 1 THEN AttributeValue ELSE '' END) AS Attribute1Name ,

     MAX(CASE CA.AttributeType WHEN 2 THEN AttributeValue ELSE '' END) AS Attribute2Name

    FROM dbo.CataCollections as DC INNER JOIN dbo.CollectionAttributes AS...

  • RE: how to insert a date into a column

    A SmallDateTime field is accurate to the minute so setting it to GETDATE() will automatically truncate it for you.

  • RE: SQL Statement

    Well its Christmas so surely its as good a time as any to contemplate the "Meaning of life"?

    I've got the "Monty Python Sings" CD in my lap-top for when the...

  • RE: Practical Course of Learning

    Anything that comes through the post that isn't a bill or junk mail is something to get excited about.

  • RE: SQL Statement

    Wasn't there a Monty Python sketch on this very subject refering to John Cleese as the comic mesiah?

    For the younger programmers, Monty Python was a comedy team before the invention...

  • RE: SQL Statement

    I have never seen a performance difference but from my point of view the separation of join conditions and selection conditions aids clarity to the code.

  • RE: SQL Statement

    Basically all your tables relate on the accountId field.

    So tblBorrowerAddress.AccountID = tblAccount.AccountID and tblAccount.AccountID = tblBorrower.AccountID

    A human being will infer that tblBorrowerAddress can be linked to tblBorrower but a computer...

  • RE: No Result set with a WHERE Clause.

    Put SET DATEFORMAT YMD at the beginning of your procedure

  • RE: Is there a way to make DELETEs faster?

    I'm not sure that switching to 'Simple' mode would have the desired effect.

    All activity is logged, all simple mode does is truncate the log by removing checkpointed transactions.  I would...

  • RE: Many to Many Self Join?!

    Think of it as a parent/child relationship if that isn't too Freudian.

    An employer is a parent the child is the employee.

    The customer is the child of contact 4.

    Your tbl_relationship table...

Viewing 15 posts - 2,896 through 2,910 (of 3,615 total)