Forum Replies Created

Viewing 15 posts - 6,781 through 6,795 (of 18,926 total)

  • RE: reading images in database

    I've never imported images using that method so I can't offer much advice.

    The only thing I can offer is simply this : instead of guessing at the files in the...

  • RE: Matrix Report

    You need a calendar table.

    The final query should be select from calendar left join (dataset)

    That will make sure you get all the dates available.

  • RE: reading images in database

    Flush the insert command and rerun the loop for a couple rows, maybe 5 or 10. See what is being selected. That should give you the answer.

  • RE: reading images in database

    dir is an ms - dos commande.

    That's where the path goes. Google it for full list of options.

    Once you have a list of files to process just go at...

  • RE: reading images in database

    Did the row really insert?

    Trigger deleting the row?

    transaction not closed?

  • RE: reading images in database

    This would also be a much smarter way to go. List the files that are actually in the folder. And only try to import those :

    IF...

  • RE: reading images in database

    DECLARE @counter AS int

    DECLARE @folderpath AS varchar(255)

    DECLARE @fullpath AS varchar(4000)

    DECLARE @sqlstring AS varchar(4000)

    SET @folderpath = 'D:\Mijn Documenten\Documents\DWCoureurLocaleData\Irfanview_26012011'

    SET @counter = 670

    WHILE @counter < 671

    BEGIN

    SET @fullpath = @folderpath + '\' +...

  • RE: reading images in database

    You're not listening.

    Kill the loop for now (or only 1 iteration).

    PRINT the code and see what's wrong within 1 iteration.

    You're getting 1000s of errors because you are looping 11000+ times.

  • RE: SSRS 2008 for SL

    I've coded on asp .net app in c# once before and I had to use the reportviewer control to make the connection between ssrs and the web.

    Maybe that exists in...

  • RE: Service pack 3 or 4

    The annoying answer is whatever sp will work for your application. So yes that means testing them all.

    As for time issues. It'll take just about the same time...

  • RE: reading images in database

    Another golden nugget.

    Instead of running the code print it (select with output to text mode rather than grid), then copy paste back into ssms and check syntaxe there and then...

  • RE: Date as INT - having trouble with comparison :(

    Post both query plans (fast and slow).

    Can you also test at which point you start getting the bad plan (3,4,5,6 days??).

    If the query is not going to be run very...

  • RE: Date as INT - having trouble with comparison :(

    Phineas Gage (4/18/2011)


    No...why's that? The query completed fine with and without them.

    He wants you to test out something. Can you just humor him for 1 second instead of wasting...

  • RE: Generic workaround for Round Exception

    venoym (4/18/2011)


    um... why not force the insert script into a known data type? I'm assuming you are using the insert script to create the table #TOTAUX...

    Something like:

    SELECT ALIMENTER_ID,CAST(SUM(BILAN)...

  • RE: reading images in database

    BTW, in SSMS, you can double-click the error in the output window and it'll bring you in the code in the region of the error. Sometimes right on it.

    In...

Viewing 15 posts - 6,781 through 6,795 (of 18,926 total)