Viewing 11 posts - 1,996 through 2,006 (of 2,006 total)
Paul White NZ (4/19/2010)
Were you? I assumed you were talking about a SQLCLR solution - which was my other thought
After years of having the DBA here beat me into submission,...
April 20, 2010 at 2:34 am
Paul White NZ (4/19/2010)
Have you considered using an SSIS package?
That's what I was getting at 🙂
Depending on the file sizes, you'd either just need to read the whole of each...
April 20, 2010 at 2:19 am
Seems like an unnecessary complication if all you're doing is merging files. Why not do it in C#, or VB or something?
If it's an intellectual exercise, read the following...
April 19, 2010 at 6:32 am
After getting the last 4 wrong, it was nice to get one right for a change. . . 🙂
yes, yes. I know. But I'm a .net coder, only recently decided...
April 19, 2010 at 4:17 am
DECLARE @teststring VARCHAR(65)
SELECT @teststring = 'St.John'
IF PATINDEX('%[A-Z,0-9]%',@teststring) > 0
PRINT @teststring
ELSE
PRINT NULL
-edit-
Didn't see the post above me before I hit submit. I prefer mine, but I'm not a SQL developer -...
April 16, 2010 at 5:51 am
Just posting the file contents so ppl don't need to download. (no, I don't know why it wouldn't post for you).
CREATE TABLE dbo.TmpOrder (
Sequence INT IDENTITY(1,1) PRIMARY KEY,
ProductID INT,
Colour varchar(10)...
April 15, 2010 at 3:56 am
Is the file to be loaded later by another application?
If so, I stick with my original assessment - do it in the presentation layer. C#, VB.Net, Java etc, are all...
April 15, 2010 at 3:18 am
What reason are you doing it for? Personally, I would always do this sort of thing at the front-end, rather than the DB.
April 15, 2010 at 2:52 am
SELECT *
FROM [dbo].[tblPrice]
WHERE [fldPrice] => 10000
AND [fldPrice] =< 100000
-EDIT- sorry, wrote between 1 and 10 instead of your values.
March 19, 2010 at 4:02 am
Thanks for that. I've added an ORDER BY StartDate so I can keep things orderly, then added a quick script to test the time taken for the script to run....
March 17, 2010 at 3:27 am
My apologies, I meant to give you some sample output.
I'd want something like: -
------------------------------------------------------------------------------------
ID - | -- Address - | - Start Date --------------- | ID - | -- Address...
March 16, 2010 at 10:02 am
Viewing 11 posts - 1,996 through 2,006 (of 2,006 total)