Viewing 6 posts - 1 through 6 (of 6 total)
contents of imagestorehouse, used for this project:
Sub Main()
Dim CommandLine As String = Microsoft.VisualBasic.Command()
If CommandLine.Substring(0,...
April 10, 2006 at 7:52 am
CREATE PROCEDURE procGetFile_bin
@FileSpec varchar(500) = ""
AS
SET NOCOUNT ON
IF OBJECT_ID('##tmp_table', 'U') IS NOT NULL DROP TABLE tmp_table
CREATE TABLE ##tmp_table(auton INT PRIMARY KEY IDENTITY(1,1), ImgFld image )
INSERT INTO ##tmp_table(ImgFld) VALUES(NULL)
DECLARE @Add_Str varchar(200)
SET...
April 10, 2006 at 7:51 am
Oh you are a very smart man. That will work excellently. I think. 🙂 Saves me some work too with the whole number generation and everything. I'll post the code...
April 8, 2006 at 10:59 am
Lets see if I can shed a little more light on how it works now...
Client-Side:
INSERT INTO File_Store(binData) VALUES(NULL)
@row_loc = (SELECT MAX(AutoN) FROM File_Store) (Yeah, I know that's wonky-I want to...
April 8, 2006 at 10:53 am
Exactly what its doing. 🙂 No way am I opening up a file-sharing port for external users. 😉 I feel bad enough with my (modified) SQL ports open.
April 8, 2006 at 10:33 am
I can already do what I want. But its roundabout.
I generate a unique (autonumber) column on the SQL server, with an IMAGE field (NULL). Then I call xp_cmdshell against an...
April 8, 2006 at 10:10 am
Viewing 6 posts - 1 through 6 (of 6 total)