Viewing 15 posts - 1 through 15 (of 33 total)
We use function made in VB.NET for write file from T-SQL directly to disk, usualy XML. 🙂
Regards
February 21, 2014 at 4:04 am
You are true Nigel, thanks :-).
Here is now simple function:
ALTER FUNCTION [dbo].[IsAlphaNumeric](
@input varchar(100))
RETURNS bit
AS
BEGIN
DECLARE @isAN bit
SET @isAN= 0--non numeric
IF PATINDEX('%[^0-9]%', @input) = 0 BEGIN
SET @isAN = 1--numeric
END
RETURN @isAN
END
Or just test...
December 2, 2011 at 5:57 am
I expected function like that. Is string numeric or not.
CREATE FUNCTION [dbo].[IsAlphaNumeric](
@input varchar(100))
RETURNS bit
AS
BEGIN
DECLARE @i int, @max-2 int, @C varchar(1)
DECLARE @isAN bit
SET @max-2 =...
December 2, 2011 at 1:11 am
Definitely recommend this book (Defensive Database Programming) to anyone. I think that book is for begginers and for professionals :-). Also I recommend a set of seven "The Best...
August 8, 2011 at 3:28 am
Sorry LutzM, I didn't look well. I see now that problem with attribute "name" is already solved.
Thanks for your solution 🙂
Uros
August 27, 2010 at 1:36 am
You right LutzM.
Today I will try to implement your solution and later I will modify all existing imports. I think is much better. No nead to distribute "sqlxml.msi" to...
August 27, 2010 at 1:20 am
Thanks to respond, but I think you don't understand me.
I need to make XSD shema mapping file to import XML data to SQL Table. I use VB.
I already made mapping...
August 26, 2010 at 2:16 pm
One question:
I always use CommandType=adCmdText and CommandText=mySQL.
MySQL is T-SQL statement or for execution stored procedures EXEC myStoredProc 'cParam1', nParam2, 'dParam3'.
Example:
If I don't need return data.
.............
strSQL="EXEC myStoredProc '" & Param1...
February 9, 2007 at 2:13 am
This site is the best site on the internet and I hope that will be in the future too. ReedGate is a good company.
Andy, Brian and Steve I wish you the...
November 14, 2006 at 1:42 am
Sorry for delay, I was to busy.
I look regional settings of the account under witch the SQL server is running and I found source for my problem
November 9, 2006 at 7:15 am
Script work fine.
My problem is solved.
But question why XP_CMDSHELL "DIR..." return date in wrong format still exist!?!?
November 4, 2006 at 5:40 am
Michael, very nice solutions. I will try it.
Will, my backup jobs delete files older then X days. My backup enable tree types of...
November 3, 2006 at 7:01 am
Sergiy, I agree with you but I use MSDE 2000 on local machine is no server there, just one machine with MSDE. When I see problem with date the first...
November 3, 2006 at 1:16 am
No, I can't write function becouse in SQL server date format is OK, so I newer know what format DIR function return, is '10.12.2006' october or december.
November 2, 2006 at 12:32 pm
No, nothing help.
I need universal solutions, becouse I newer know what format user use on PC. Problem is in string. If I write a function which control the date string I newer...
November 2, 2006 at 12:21 pm
Viewing 15 posts - 1 through 15 (of 33 total)