Viewing 8 posts - 1 through 8 (of 8 total)
What I ended up with (and this may not be optimal) is
USE [targetdb]
GO
/****** Object: StoredProcedure [dbo].[InsertDB] Script Date: 10/20/2009 14:11:58 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER...
October 21, 2009 at 8:30 am
GOT IT WORKING NOW!
Ok. This compiles:
ALTER PROCEDURE [dbo].[InsertDB]
@AccessDB varchar(255)
AS
BEGIN
SET NOCOUNT ON;
DECLARE @SQL nvarchar(2000)
DECLARE @InsertID INT
Set @SQL = 'INSERT into dbo.ArchivedAccessDBs(AccessDB) SELECT...
October 20, 2009 at 12:20 pm
Ok, tried this:
DECLARE @SQL nvarchar(2000)
DECLARE @InsertID int
Set @SQL = 'INSERT into dbo.ArchivedAccessDBs(AccessDB) SELECT * FROM OPENROWSET(BULK N''\\<servername>\DB\sskelton\' + @AccessDB + ''', SINGLE_BLOB) as Document SELECT @InsertID = SCOPE_IDENTITY();'
Print @SQL
EXEC...
October 20, 2009 at 11:51 am
I can understand why people might not like the idea of storing multiple column values in one encoded field, but it does occur to me that this would be a...
May 21, 2009 at 2:29 pm
sorry, but I have to...
By Jack Handy:
"If you ever reach total enlightenment while drinking beer, I bet you could shoot beer out of you nose."
December 2, 2005 at 2:30 pm
well apologies about the voice box thing - didn't know about that. As for the aspberger's thing, I don't think it is indicitive of mental deficiency, and I don't think...
December 2, 2005 at 1:22 pm
wow! seems i stepped on a toe there. by 'cheesy tech' i was thinking of the voice box for the computer -- just a silly hollywood touch. as for the...
December 2, 2005 at 12:46 pm
I definately think Sneakers is the best, if you want something that is actually true-to-life techie wise. War Games next, but the tech is a little cheesy -- but they...
December 2, 2005 at 12:26 pm
Viewing 8 posts - 1 through 8 (of 8 total)