Viewing 15 posts - 21,586 through 21,600 (of 26,484 total)
Depends what kind of test data you are looking to create.
April 8, 2009 at 7:57 pm
cm62597 (4/8/2009)
April 8, 2009 at 1:46 pm
Quickly, TraceID 2 is the default trace. You should never have more than 5 files and they don't get very big. the other trace, I suspect, is a...
April 8, 2009 at 1:41 pm
Mind readers we are not. If you needed the results of your query then that is what you should have told us up front instead of indicating that you...
April 8, 2009 at 1:30 pm
This:
select SUBSTRING(Field1,PATINDEX('%[^0]%',Field1),10)
FROM (
SELECT '05380101010000' AS Field1 UNION ALL
SELECT '05380101020000' UNION ALL
SELECT '05380101101000' UNION ALL
SELECT '05380011103000'
) TestData
does not return the result set you indicated you required.
April 8, 2009 at 1:22 pm
In addition, not all MVP's are equal. We have seen solutions from MVP's that were not the best, and were actually of questionable value. It should be up...
April 8, 2009 at 1:15 pm
Just checking, but did you also restart SQL Server?
April 8, 2009 at 12:48 pm
Not only that, but that is what I thought was needed from the start, but I got confused by the subsequent posts until I had the OP show what was...
April 8, 2009 at 12:42 pm
Try this:
select reverse(cast(cast(reverse(substring(col1,8,4)) as int) as varchar(4)))
April 8, 2009 at 12:36 pm
I'm confused. Hightlight (BOLD) the values you are trying to extract:
05380101010000
05380101020000
05380101101000
05380011103000
April 8, 2009 at 12:28 pm
Yes. Each NVARCHAR column could require up to 8000 bytes each.
April 8, 2009 at 12:19 pm
Show how you are pulling out the values from the initial values.
April 8, 2009 at 12:14 pm
Leading zeros or trailling zeros? looking at the data, I'm thinking trailing.
April 8, 2009 at 12:05 pm
Lynn Pettis (4/8/2009)
Tara (4/8/2009)
I have tableA with CCode
ID CCode
1 98773
2 68790
3 62098
4 ...
April 8, 2009 at 11:32 am
If that is the only option, that may be what you need to do. As it is using SQL Server, you may want to verify with them that they...
April 8, 2009 at 11:26 am
Viewing 15 posts - 21,586 through 21,600 (of 26,484 total)