Forum Replies Created

Viewing 15 posts - 166 through 180 (of 251 total)

  • RE: Rowversion

    HanShi (8/12/2008)


    @Chirag: on the internet I've found "Min_active_rowversion() was introduced in SP2 for SQL Server 2005".

    That's all well and good, but the question doesn't say "In SQL Server 2005, what...

  • RE: How to insert more rows into sql server table using stored procedure?

    ...and, if you pass the data in as XML (or whatever other method you choose to pass in a chunk of data that you want to work on) then you...

  • RE: How to insert more rows into sql server table using stored procedure?

    You don't need a trigger...

    [font="Courier New"]DECLARE

    @UserId UNIQUEIDENTIFIER,

    @GroupID UNIQUEIDENTIFIER

    SET @user-id = NEWID()

    SET @GroupID = NEWID()

    INSERT INTO User_Group_Map (UserID, GroupID) VALUES (@UserID, @GroupID)[/font]

    Wrap it in a stored proc and you can use...

  • RE: What kind of DBA are you?

    Here's another vote for "squeal". Been working with a very difficult system lately.

    And you know the SCSI interface? It had to have been designed by geeks and not marketing, otherwise...

  • RE: How to lay out SQL Code

    One thing I find useful is to first see if the vendor of the tool has any suggested standards. It appears that Microsoft offers little guidance in that regard, for...

  • RE: how to run a stored procedure from C# application

    If all you want to do is execute a stored proc that returns no results then you don't need a DataAdapter/DataSet (you don't necessarily need one even if you do...

  • RE: The ARRAY In SQL Server 2000

    Eric Wilson (2/18/2008)


    With due respect, I'm afraid you missed my point. One (major) goal of the Relational Model was to be as uncluttered as possible. To that end, relations (a.k.a....

  • RE: The ARRAY In SQL Server 2000

    Wow, sorry for the multiple posts, not sure how that happened.

  • RE: The ARRAY In SQL Server 2000

    Eric Wilson (2/14/2008)


    Regarding the overall article's topic:

    The only possible reason to want an ARRAY type is because of assumptions of how the data will be *physically* organized. But we should...

  • RE: The ARRAY In SQL Server 2000

    Eric Wilson (2/14/2008)


    Regarding the overall article's topic:

    The only possible reason to want an ARRAY type is because of assumptions of how the data will be *physically* organized. But we should...

  • RE: The ARRAY In SQL Server 2000

    Eric Wilson (2/14/2008)


    Regarding the overall article's topic:

    The only possible reason to want an ARRAY type is because of assumptions of how the data will be *physically* organized. But we should...

  • RE: varchar(n) in C# (and C/C++)

    In C#, would something like this work? Key is setting the length of the input parameter when you create it. You didn't indicate what type @o is so I assumed...

  • RE: Reading IIS log files using DTS package

    Have you seen Log Parser? It's a free tool from Microsoft that is very useful for parsing different kinds of log files, including IIS log files. I've used it myself...

  • RE: doubts on procedures

    A SqlDataAdapter isn't needed if all you want is to get back the output parameter value, but specifying the command type is definitely a good idea. I bit the bullet...

  • RE: doubts on procedures

    Yeah, that would probably be because ExecuteNonQuery doesn't take any parameters, sorry (you can double-check that by checking on-line help).

    So take out the "CommandBehavior.CloseConnection", and then be sure to add...

Viewing 15 posts - 166 through 180 (of 251 total)