Viewing 15 posts - 1,921 through 1,935 (of 2,006 total)
Don't understand the question, mainly because you haven't given us any information!
I've done some test data, but obviously didn't know what you're using. . .
DECLARE @ClientXAttributeText AS TABLE(
clientid...
June 15, 2010 at 4:29 am
I generally write a VBScript that takes in variables from user input, then generates batch scripts that execute the SQL required.
June 10, 2010 at 6:10 am
You could always declare a variable, then change it at "fail" to whatever task had failed.
Uploaded with ImageShack.us
June 10, 2010 at 2:51 am
nfs_john (6/9/2010)
I surely can script out my tables etc. I figured you geniuses wouldn't need anything more than to see it to know where I am wrong.:-)
I figured you could,...
June 9, 2010 at 9:37 am
nfs_john (6/9/2010)
June 9, 2010 at 8:36 am
Please write out your expected outcome, it's difficult to help from what you've displayed.
June 9, 2010 at 8:14 am
Glad I could help :w00t:
June 9, 2010 at 4:11 am
No problem. The reason it was returning blanks before is because the NULL was passed in, then the function was running: -
SELECT @Reset =...
June 9, 2010 at 4:09 am
How about just doing this: -
USE [TestingDB]
GO
IF EXISTS (SELECT *
FROM sys.objects
...
June 9, 2010 at 3:57 am
This should do what you want: -
DECLARE @old_string VARCHAR(35)
DECLARE @count INT
DECLARE @new_string VARCHAR(35)
SET @count=1
SET @old_string = 'test'
WHILE ( @count <= 35 )
BEGIN
IF...
June 9, 2010 at 3:10 am
Jeff Moden (6/8/2010)
skcadavre (6/8/2010)
June 9, 2010 at 2:43 am
joefreeman (6/8/2010)
Hi,Thanks for your support and help so far, do you think there could be a solution ?
Please don't message me about specific problems, I get a notification for threads...
June 8, 2010 at 2:48 pm
Anyone understand what is being asked here? I've spent as long as I want to trying to figure out what he actually wants. We now have sample data and...
June 8, 2010 at 8:58 am
joefreeman (6/8/2010)
From the above sample the results would look something like;PersonID,MaxVariance,EarliestMonth
1,1,'12'
2,2,'11'
3,2,'11'
4,3,NULL
5,2,'12'
6,2,'06'
7,3,NULL
8,2,'01'
9,1,'11'
It certainly is stumping to me - really appreciate you looking into it further.
OK, first I've fixed the data insert...
June 8, 2010 at 8:24 am
Viewing 15 posts - 1,921 through 1,935 (of 2,006 total)