Forum Replies Created

Viewing 15 posts - 151 through 165 (of 222 total)

  • RE: How to shrink database and truncate log on check p

    If you want to shrink the database and you can set up a maintenance plan and schedule it which will create the job. However, you ask about truncate log on...


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: Restore Database hangs EM

    thanks - at least I now know it's not specific to our systems.

    Paul Ibison

    Paul.Ibison@btinternet.com


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: "Select * from @var" possible?

    If you're on SQL 2000 I'd use Steve's solution - the table variable - as it's easier and doesn't need any clearing up of a temporary table. Also, the temp...


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: Getting Identity of an Updated Row

    Could use "select top 1 identitycol from Answers_Eligible" after the update

    Paul Ibison

    Paul.Ibison@btinternet.com


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: (DTS) - multiple dynamic connections

    You could store the results of the ExecuteSQL task in a recordset and loop through the recordset in the package. (Peterson's book explains how to set up a loop in...


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: reg. server date time

    For input formats, have a look at SET DATEFORMAT in bol. This changes the interpreted format of text dates when entered into datetime variables/columns. Otherwise I think the language setting...


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: "Select * from @var" possible?

    Interesting - never thought of this as a discrepancy before. However, I suppose there is a distinction. In the case of "Select @column, col1 from Table" the @column is not...


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: "Select * from @var" possible?

    I guess it's because @table will be interpreted as the name of a table itself, rather than a variable holding the name. So if you didn't have a table called...


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: Limit the number of users on Db level.

    Don't know if it will be suitable for your case, but there is a simple way of doing this. You could login users of your application using an sp. This...


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: "Select * from @var" possible?

    You could construct the slq text as a string and use: EXEC("sqlstring") or sp_Executesql.

    Alternatively you could use a user defined function, which can be used in l=place of a tablename...


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: Please Help with DTS and Variables!!!

    It sounds like the whole sql statement needs to be treated as dynamic. In this case, I'd look at using a AcxiveX task to reassign the sql text before the...


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: Sql Help !!!!!

    Tthere is not an automatic method I know of to do the whole db, and even if there was a system sp, I guess it would still have to iterate...


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: New server Registration

    Have just mimiced this on my work system, and found I needed to check Dynamically Determine Port - hope this helps.

    Paul Ibison

    Paul.Ibison@btinternet.com


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: New server Registration

    Not 100% sure, but I think the port number won't be 1433. Have a look on the server to see what it's using.

    Paul Ibison

    Paul.Ibison@btinternet.com


    Paul Ibison
    Paul.Ibison@replicationanswers.com

  • RE: Sql Help !!!!!

    The difference of fillfactor or none depends on the initial create index statement. As your index increased in size (1MB -> 2MB) when you ran DBCC DBREINDEX - no fillfactor,...


    Paul Ibison
    Paul.Ibison@replicationanswers.com

Viewing 15 posts - 151 through 165 (of 222 total)