Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Hablaras

    ALTER DATABASE to set new minimum translog filesize not working

    Catadmin, I am running the maintenance plan for my database once a week on Sunday already. I have it set to optimize data pages and indexes, amongst others. I am finding that some (huge) insert statements are running slowly after the weekend, so my guess was it is because I also shrink the...
  2. Hablaras

    Cannot find property in DTS object model

    addendum: A dirty way to check if the property is set is by examining the DTS.Connection2.UseDSL DTS.Connection2.UDLPath properties. If the property is set to FALSE: UseDSL = -1 UDLPath = "" if TRUE: UseDSL = -1 UDLPath = <a path here> This is because if the property is not set the...
  3. Hablaras

    Cannot find property in DTS object model

    I cannot find a certain property in the DTS object model: "always read properties from UDL file" which can be found on the property tab of a UDL connection in a DTS package. My guess is it would be in one of the following objects: DTS.Connection2 DTS.OleDBProperty2 But I cannot pinpoint...
  4. Hablaras

    ALTER DATABASE to set new minimum translog filesize not working

    1. it is in simple recovery mode, so transactions are written to the database (backed up). 2. ok thanks for all your help sofar, gr., Hablaras
  5. Hablaras

    Error 21776: [SQL-DMO] The name 'dbo' was not found in the users....

    SP4 is out :) Hopefully that solves your problems...
  6. Hablaras

    ALTER DATABASE to set new minimum translog filesize not working

    thanks mrdenny, some questions i still have: 1) does your argument also hold for shrinking the transaction log? the shrinkdatabase statement shrinks both, but the transactions in the transaction log (LDF) are commited to the database file and the file is "emptied" (perhaps some open...
  7. Hablaras

    ALTER DATABASE to set new minimum translog filesize not working

    Hello, I have a database with a transaction log file of 500MB. I want to increase it to 10000MB, but this must also become the new "minimum logsize". According to BOL the ALTER DATABASE statement with the SIZE=10000MB property should do the trick... BUT after an autoshrink or forced shrink (...
  8. Hablaras

    How to change DTS owner name

    ... but if you save the package again using the designer, the previous owner name is re-set. The owner name is stored somewhere in the BLOB.
  9. Hablaras

    truncated errordescription in sysdtssteplog

    That is what I meant with "error textfile". Not the most accurate terminology from my side. Thanks anyway, guess it is the only solution.
  10. Hablaras

    truncated errordescription in sysdtssteplog

    Hi, A dts package can log errors per step to the sysdtssteplog table. An error description can be found in the errordescription field. HOWEVER, this message is maximum 256 characters long, while the datatype is nvarchar(2000). Some descriptions are truncated, while I need the entire message...
  11. Hablaras

    KILL SELECT process

    Why is it not possible to KILL a SELECT process? The BOL states this is one of several process that can't be killed. If users are retrieving vast amounts of data, taking up to many resources, those processes can't be killed? What's the risk? That users receive partial result sets? Has...
  12. Hablaras

    How to use Update statement with output from a Store procedure.

    You could catch the result in a variable and using output variable(s) in your procedure: declare @cmd nvarchar(4000) declare @arg2 blabla exec some_proc @arg1, @arg2 out @cmd = 'Update some_table set some_col=' + @arg2 (If @arg2 is not numeric, put it in quotes) finally: exec sp_executesql @cmd
  13. Hablaras

    [Microsoft][ODBC SQL Server Driver]Timeout expired error

    Set objRS.CommandTimeout to a higher value than the default 30 seconds, e.g. 1000 objRS.CommandTimeout = 1000 It looks like it is not a connection (i.e. slow reverse lookup of the server name) problem. BUT if the previous statement doesn't fix your problem, try the next one...
  14. Hablaras

    SQL head ache

    I guess your code is a sort of pseudo-ASP code: constructing an SQL statement via APS code, but you removed the annoying <% and %> tags :) I don't completely understand your question, but my guess is you have to change: theSQL = theSQL & &quot;) AND eat IN ('BOTH')&quot; to theSQL = theSQL &...
  15. Hablaras

    Single job execution at a time

    I saw you removed this scheduler application from your website? :)
  16. Hablaras

    Single job execution at a time

    Thanks! I'll check it out. Problem with no using flag-files is you are never sure the upload to your inbox is complete (we get our files FTP-ed and this can take as long as 1 hour to complete). Also, if a transmission is aborted half way through a partial file could remain in the inbox. The...
  17. Hablaras

    Single job execution at a time

    The problem is the jobs are started from a polling application. This application is run every 5 minutes, and if it finds are certain flag-file, indicating an upload of source text files has completed, it starts the job belonging to that flag-file. I have three types of flag-file and also three...
  18. Hablaras

    Data Type of an Amount Column to have 2 decimal places

    Only thing I can think of is that there is something wrong in the VB code. Try to open the table in EM. Right click table _> open table -> return all rows and manually type in 25.25 and go to the next line. Does it change to 25.00 then? I've never seen that before, unless triggers are defined...
  19. Hablaras

    Hi, I've problem with my sql qu

    Your first statement returns 14 fields, your second 18. This is not allowed when using the UNION clause. The no. of fields should be the same and in the same order. Now, it would put the &quot;job request&quot; of the second query in the &quot;facitility code pm&quot; field, specified by the...
  20. Hablaras

    The view is NOT SCHEMA BOUND

    From the top of my head, I think the problems lies with the view, not the creating of the index. Schema bound means using &quot;table1.col1&quot; in stead of just &quot;col1&quot;. Also use CREATE VIEW blabla WITH SCHEMABINDING. See books online, keyword &quot;create view&quot;: CREATE VIEW [<...

Part and Inventory Search

Back
Top