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. kittyyo

    CmdExec job to rename file with yesterday's date

    2005. I have never done anything relating to SSIS, but it would be a good time to start. Also the DB is trustworthy on - so I can do filesystem tasks with a CLR without further "activations"? Great! Thanks a lot for your guidance!
  2. kittyyo

    CmdExec job to rename file with yesterday's date

    As I'm using the German localized version of Windows, the %date% doesn't include any slashes, just dots. :) I considered SQL agent for two reasons: a) The job that creates the file, which I want to rename, is already an SQL agent job (file contains database data). b) I didn't find any suitable...
  3. kittyyo

    CmdExec job to rename file with yesterday's date

    Hi all! I've been searching for a while, maybe you can help: I need an SQL Server Agent job to rename a file with the original filename + yesterday's date. I figrued out that I should use an Operating System (CmdExec) job step like this ren test.txt test-%date%.txt but I'm stuck with...
  4. kittyyo

    SQL 2005 - Permissions

    You might also look at sp_helprotect http://msdn2.microsoft.com/en-us/library/ms190310.aspx Anne
  5. kittyyo

    Printing long documents with PrintDocument

    Hi all! I'm using the PrintDocument class for a printout in my application. In the OnPrintPage event handler, I populate the graphics object using the DrawImage() and DrawString() methods. The document can have up to 140 pages and is printed from the local workstation (a Windows 2000 machine)...
  6. kittyyo

    agent job connecting to linked server: security context not trusted

    Both servers are set up for mixed mode. Believe it or not: I removed the "run as user" values, and now it works! I would have never thought that! A typical case of overkill... Denny, thanks a lot for solving this issue! [2thumbsup]
  7. kittyyo

    agent job connecting to linked server: security context not trusted

    The job step is a T/SQL command. I did not use a proxy account, but on the "Advanced" tab of the "Job step properties" window, I set the "Run as user" field. I will mention some other details about the linked server I'm using: I configured the linked server this way: EXEC...
  8. kittyyo

    agent job connecting to linked server: security context not trusted

    I'm sorry, as it seems I was in an overhast. It appears that the job worked once, but now it does not any more with the same error as before (current security context is not trusted). This is was I did: Since I was not able to change the accounts on the linked server's security tab, I created...
  9. kittyyo

    agent job connecting to linked server: security context not trusted

    I'm sorry to bother you with this question - maybe it is really a newbie issue, but I'm new to the SQL Server Agent. I've written a script that calls a stored procedure on a linked server. If I execute this script on the local server, all is doing fine. Then I tried to execute this script...
  10. kittyyo

    selecting the message output of a SP into a variable

    I found this article on the net: http://www.sommarskog.se/error-handling-I.html Basically it says that messages with a severity smaller than 11 (I think I'm dealing with this kind here) cannot be trapped directly using T-SQL. So if none of you experts has a solution to this issue (I'm still...
  11. kittyyo

    selecting the message output of a SP into a variable

    Thanks for your answer! Unfortunetely I have to use the message output inside a T-SQL stored procedure. However I now have some more clues on how to search on the Internet about this issue. Anne
  12. kittyyo

    Date into SQL from MySQL via linked server

    Hi, please post the code you are using to create the linked server. Greetings, Anne
  13. kittyyo

    selecting the message output of a SP into a variable

    Hi all! I've stumbled over a new problem and have not found anything yet on the Internet: I call a stored procedure (by another vendor) this way: DECLARE @return_value int, @AnzahlBenutzer int, @BenutzerSendefehler int, @Fehlerprotokoll nvarchar(max) EXEC @return_value =...
  14. kittyyo

    Which System.Collections list is best to use for a LIKE search?

    Hi all! Imagine a System.Collections list (e.g. an ArrayList or a HashTable) containing person objects with surnames. If you wanted to search this list for all people whose surname starts with a specific string (e.g. "Sm" when wanting to find "Smith", "Smithers", ...), which System.Collections...
  15. kittyyo

    OwnerDrawVariable ComboBox - change DropDown list height?

    Hi there! I hope one of you has already worked with owner drawn combo boxes. In my custom combobox, I have set DrawMode = DrawMode.OwnerDrawVariable, and the items in the drop down list all have variable height. This is working so far - but: How can I adjust the total height of the drop down...
  16. kittyyo

    constant array with enum as "iterator"

    Thanks a lot Chip! I'll do it that way.
  17. kittyyo

    constant array with enum as "iterator"

    Hi there, I'd like to know if the following is possilbe in C#: Consider the enum "DayOfWeek" which is already built into the .NET framework. I'd like to create a constant one-dimensional array whose elements should be addressable by the DayOfWeek enum, for example (pseudo-code!) const...
  18. kittyyo

    open form that depends on parameter query

    Thanks spizotfl! Now that I've played around for an hour a really nice solution popped up: I created to public functions, GetMonth() and GetYear() as follows (trimmed-down): Public Function GetMonth() As Integer If CurrentProject.AllForms("Welcome").IsLoaded Then GetMonth =...
  19. kittyyo

    Edit SumOf"Field" Title

    In the designer, put "YourDesiredName:" before the field name. In the SQL view, put "AS YourDesiredName" behind "Sum(FieldName)". Regards, Anne

Part and Inventory Search

Back
Top