Viewing 15 posts - 31 through 45 (of 74 total)
Thanks a lot guys: there is a beginning of an understanding. Putting it into practice look at the following:
CREATE TABLE #images (files VARCHAR(500) NULL, InsertCMD
AS 'INSERT INTO Renner_Foto (ImageID, ImageName,...
October 29, 2012 at 2:12 am
Unfortunately there are no replies on my post. There is one advantage though: I was obliged to create a solution myself. The code above was mainly made by Ninja and...
October 20, 2012 at 3:54 am
Hello Ninja,
I've played around a bit with the code and it works great!
The problem is solved with your query as follows:
Use WielerDatabaseSQL
Go
Select
T.Achternaam,
Stuff((
Select ',' + C.Uitslag
From vwAATestHorizontaal C
Where C.Rennerid = T.Rennerid
Order...
December 16, 2011 at 2:28 am
Thanks Ninja, w'll give it a try. I let you know if it works.
December 15, 2011 at 9:42 am
I think I can manage that one. Th second seems fine to me. Once I have to update I empty the table and fill it again and we are not...
April 20, 2011 at 12:01 pm
Sorry, forgot something. When there are additions/changes, (fi other images for the same ryder), we loop through the same folder. This only happens twice a year, maximum.
Grz,
Robert
April 20, 2011 at 11:42 am
There should be a primary key, yet to be installed. I am going to produce some improvements, but that has to be decided. Had no time today, tomorrow neither.
To be...
April 20, 2011 at 11:39 am
Hello Robin,
To be complete I want to inform you about your code: that code is running too, but I had to make two changes:
1). Because xp_cmdshell accepts no spaces in...
April 20, 2011 at 1:09 am
Thanks for your code (very, very fast production - that must be a pro): for simplicity I made the same directory as you did (D:\test img\) and its running like...
April 19, 2011 at 12:23 pm
Let's be clear: I appreciate what your doing. But when acting on the newbees site you can expect something like me (perhaps I am the worst ever, but still). The...
April 19, 2011 at 11:27 am
The wonder has happened: I have got some records in the database!! The problem is as follows:
In the first 100 counters there are 7 images. Sometimes images occur 3 times...
April 19, 2011 at 11:01 am
The result is quite simple: every image that exists is added to the database for all the other ones we get the message:
(1 row(s) affected)
Msg 4860, Level 16, State 1,...
April 19, 2011 at 10:40 am
I think I am doing/have done what you said:
USE WielerDatabaseSQL
GO
BEGIN TRAN
DECLARE @counter AS int
DECLARE @folderpath AS varchar(255)
DECLARE @fullpath AS varchar(4000)
DECLARE @shellpath AS varchar(4000)
DECLARE @shellfullpath AS varchar(4000)
DECLARE @sqlstring AS...
April 19, 2011 at 10:10 am
I think your error has to do with the filepath, more specific the space in [Mijn Documenten]. If you put that piece of code between "" the problems should be...
April 19, 2011 at 9:48 am
The output looks as follows:
11.jpg0xFFD8FFE000 etc.
So again: no problems with one image. With my webpage you can see the image and it is OK.
April 19, 2011 at 9:38 am
Viewing 15 posts - 31 through 45 (of 74 total)