Forum Replies Created

Viewing 15 posts - 241 through 255 (of 369 total)

  • RE: Is a Temporary Table Really Necessary?

    Various comments:

    1. I don't like the "NEVER use", "ALWAYS use", etc. that appears in these articles. For one thing, this was written before SQL Server 2005. What...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Removing Referential Integrity for Performance?

    We are planning to check the referential integrity in the code.

    Per the above statement, you're going to be doing the same work as the DRI. It could also be...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Changing the database to unicode?

    You will need to change all CHAR and VARCHAR parameters and variables in all stored procedures and functions as well.

    I'll add a "plug" for Oracle that maybe the Microsoft SQL...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Changing the database to unicode?

    The database collation can remain the same. The N-prefixed datatypes are automatically UNICODE. See BOL.

    So you will have to convert all CHAR and VARCHAR columns to NCHAR and...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Help with Trim

    I found this interesting because I had always assumed that SQL Server trimmed trailing whitespace when inserting/updateing varchar/nvarchar columns

    Trailing blanks ARE significant in varying character columns in all of the...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Hiding data in a table based on a column value

    Having worked extensively with Oracle, that feature, along with a lot of other features, does not exist in SQL Server.

    Your only solution is to use a view. You can...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: DateFormat

    Your web application needs to honor the "Language" preference, which would include date, and currency settings, chosen by the user in their browser. E.g., for U.S. English it is...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: extract text from image data type (Office files, pdf file,)

    jumarrr (4/25/2008)


    Hi,

    my problem is the following:

    I need to get a textual representation of text data stored in binary file of type mostly MS Office, pdf, ...

    Simply I want...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Sql server 2005 full textIndex

    SQL Server's full-text CANNOT be used to search on punctuation characters ( , . - # ^ & ' " / + ? etc.). Additionally, single letters and single...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Disk Defrag Tools on SQL Server system

    s43s (5/16/2008)


    They do grow but we do shrink them.

    Shrinking the database files is one of the worst things that you can do!

    Read the following article for the details:

    http://www.sqlskills.com/blogs/paul/2007/11/13/AutoshrinkTurnItOFF.aspx


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: getting only date from datetime

    Paul Lach (5/21/2008)


    Here is another way to strip-off the time and just return the date:

    SELECT CAST(CAST(CAST(GETDATE() AS FLOAT) AS INT) AS DATETIME);

    This is based on the fact that DATETIME values...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: getting only date from datetime

    tony.sawyer (5/21/2008)


    We've got a UDF called TruncDate that effective truncates the date by removing the time element from it. This mimics the TRUNC() command in Oracle.

    Why do all of...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Putting all your data in one column of one table

    A similar mess:

    http://www.simple-talk.com/opinion/opinion-pieces/bad-carma/

    I like the quote: RUN LIKE HELL!


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: OR or IN

    Functionally they are the same.

    I prefer the IN syntax as one of the risks with using OR is that if you have other WHERE clause predicates, which would probably be...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Name Value Pair - Part II

    This sort of data-driven attribute-value pairs in a relational database quickly goes bad. I've seen too many attempts at this with disastrous results. In particular, when either querying...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

Viewing 15 posts - 241 through 255 (of 369 total)