Forum Replies Created

Viewing 15 posts - 811 through 825 (of 2,038 total)

  • RE: To write a query

    Good point Jeff. If there are more than four rows 😀 an inline query gets a bad performance.

    One question:

    Did you figure out if a cross join performs better than an...

  • RE: Dataload using Powershell - 15+GB /day

    Hi

    I'm no Powershell pro. But if you try to load CSV files into your database you should have a look at the SQL Server "bcp" command line utility or BULK...

  • RE: Copying a SQL 2005 database

    Which kind of problem do you mean?

  • RE: Query Elapsed Time

    Jeff Moden (5/23/2009)


    Florian Reischl (5/23/2009)


    Jeff Moden (5/23/2009)


    If I understand correctly, this is a stored proc that processes a single row? If it's used in conjunction with a GUI, that's...

  • RE: Query Elapsed Time

    Hi Barry

    RBarryYoung (5/23/2009)


    Florian Reischl (5/23/2009)


    ...For batch processing you need to query "sys.dm_exec_sessions" instead of "sys.dm_exec_requests".

    Could you explain that some more Florian? What kind of situation would you need to...

  • RE: Query Elapsed Time

    Jeff Moden (5/23/2009)


    If I understand correctly, this is a stored proc that processes a single row? If it's used in conjunction with a GUI, that's probably ok. If...

  • RE: To write a query

    You can use a inline query:

    DECLARE @t TABLE (Id INT)

    INSERT INTO @t

    SELECT 10

    UNION ALL...

  • RE: Why shouldn't you use keywords as column names?

    Generally I agree with Steve, Bruce and Jack.

    However a column "Name" seems to be no problem in my book. In SSMS2k8 it is no keyword anymore. Real problems are real...

  • RE: Need help in update query

    Hi

    You can create a dynamic SQL Statement:

    DECLARE @sql NVARCHAR(4000)

    DECLARE @newValue NVARCHAR(100)

    SELECT

    @sql = '',

    @newValue = 'bah'

    SELECT @sql = @sql + N'UPDATE ' + TABLE_NAME...

  • RE: Parse multiple dates from Text Field

    Hi Tim

    If you are not sure if you are not sure about your SQL Server version you can execute this statement. It shows the detailed version information:

    PRINT @@VERSION

    If you use...

  • RE: Are the posted questions getting worse?

    I heard several times people who stopped SQL Server service to get a copy. But I never heard somebody who killed the service from task manager to do this...

  • RE: Are the posted questions getting worse?

    Something new for this threads topic:

    Copying a database

    :w00t:

  • RE: Copying a SQL 2005 database

    davew01 (5/22/2009)


    Good question. I called the club and the golf department manager indicated that he just exits the GHIN Handicap problem using the normal exit procedure using the File...

  • RE: Copying a SQL 2005 database

    I'm not sure how they take the database copy but usually I would suggest to take a backup of the database to restore on your system.

  • RE: How to ensure that no data can be manipulated

    I'm not sure which kind of security you are looking for. If you try to avoid that somebody accidentally manipulates any data you should try "Read-Only" property of your database.

Viewing 15 posts - 811 through 825 (of 2,038 total)