Forum Replies Created

Viewing 15 posts - 346 through 360 (of 369 total)

  • RE: Passing table parameter ssql server 2005

    Opinion:

    Passing in a large, constructed string performing an INSERT with of all of the values and then doing an EXECUTE is not an elegant way. First off, it exposes...


    [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: Passing table parameter ssql server 2005

    I understand your problem as I have also needed the same set of functionality. The solutions presented below have been done within our app (.Net C# and SQL Server...


    [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: Recursive query for a Bill of Materials table

    I'm familiar with the BOM (hierarchical) structure. The assumption is that you already have a Parent/Child relationship. With that, you can navigate up and down the hierarchy.

    See my...


    [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: Table Sostitution

    Why not use a SYNONYM?

    This is an easy solution as long as the "old" table doesn't remain.

    You can create a SYNONYM referencing the "old" table to the "new" table. ...


    [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: How do I create a fulltext index on a view?

    Unlike Oracle, which can perform full-text queries against a view having one or more tables that have full-text indexes, SQL Server is quite dumb in this area.

    Independent of the table...


    [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: Saving binay data to disk via TSQL???

    SUBSTRING will return incorrect values from the older SQL Server TEXT and IMAGE data types as it will stop at 8,000 for TEXT (and probably 4,000 for NTEXT). However,...


    [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: Saving binay data to disk via TSQL???

    Jeff,

    (clarification)

    The "nightmare" is not with the file system per se, but with all of the logic that must be developed managing items (BLOBs, etc.) in the file system with 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: Saving binay data to disk via TSQL???

    Joseph,

    1. Glad to see that the script logic works. Yes, the file size (exact bytes) should be equal to the DATALENGTH value of the VARBINARY or IMAGE column.

    2. As...


    [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: Saving binay data to disk via TSQL???

    Jeff,

    Just don't blindly state "no BLOBs in the database". At times your application needs to store binary content. Our entire application (inciteKnowledge)(http://www.kadient.com/) is a SaaS solution storing binary...


    [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: Saving binay data to disk via TSQL???

    The BCP method with a cursor and [server] command shell appears to be quite kludgy. First off, the extraction of the BLOB is written to the SQL Server server...


    [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: execute SQL server query from Dos command prompt/ batch file.

    For SQL Server 2000, use OSQL, which is a replacement for ISQL. See the Books Online for details about the utility and examples.


    [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: execute SQL server query from Dos command prompt/ batch file.

    Yes, use SQLCMD. However, if you don't like the output format that SQLCMD provides and/or you want to massage the data a bit before writing to the file, 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: Developer - best laptop setup

    Definately go for the dual core. As for memory, 2GB should suffice on the laptop. If you're lucky enough to get 4GB, go for it, as you also...


    [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: Stop HTML matches with CONTAINSTABLE

    Suggestion: Store a copy of the HTML in a VARBINARY(MAX) column and then full-text index that.  Use this new column for the search operations (to find the row) and then...


    [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: Passing a Table to a Stored Procedure

    Jeff,

    A bit of misunderstanding by my use of the term "object" (I knew it would be read wrong).  It is not an "object" in the OO sense.  It is just...


    [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 - 346 through 360 (of 369 total)