Viewing 15 posts - 481 through 495 (of 13,838 total)
Did you try Jonathan's code?
March 27, 2024 at 9:35 am
As far as I know, C# cannot do this conversion natively.
NitroPDF does not appear to have an API, so its functions cannot be called from other applications. You'll have to...
March 27, 2024 at 8:45 am
Here's a possible way. It assumes that if a hyphen appears anywhere in the underlying text string, it must mean that the string is a negative number.
DROP...
March 26, 2024 at 12:18 pm
I've made the test data generation a little more user-friendly (and changed the 'Code' for the second set of data to differentiate from the first)
DROP TABLE IF...
March 26, 2024 at 11:43 am
ok noted about TEXT - thank you
So would I be good to temporarily store my figure in a VARCHAR(50) ?
Thanks
G
Probably larger than you need, but should be fine.
March 26, 2024 at 11:30 am
oh one more quick question - what size should I make the VARCHAR datatpe that will hold the decimal value my temp table? Or would TEXT datatype do the...
March 26, 2024 at 9:56 am
If using SQL Agent ...
One way is to create a log table and log the errors there and then make sure that the Agent job fails if one or more...
March 25, 2024 at 8:47 pm
Can I ask how I could achieve notifications of errors during this translation?
What automation tool will you be using for this process?
March 25, 2024 at 6:33 pm
i have many values in the data - should i just get rid of DECIMAL datatype and use VARCHAR instead? Are there any dangers of doing this?
No danger at...
March 25, 2024 at 2:46 pm
What tool are you using to import? Can it 'look for' trailing minus signs and move them to be leading as part of the import?
Or perhaps you will have to...
March 25, 2024 at 2:10 pm
Hi as in other forums but possibly worse, there doesnt seem to be an easy way to show just my posts in this forum. If i search on my...
March 22, 2024 at 12:15 pm
Something like this?
DROP TABLE IF EXISTS #SomeData;
CREATE TABLE #SomeData
(
Col1 VARCHAR(100) NOT NULL
,Col2 VARCHAR(100) NOT NULL
);
INSERT #SomeData
(
Col1
...
March 22, 2024 at 10:53 am
Is there any additional way of limiting TicketOpenDate?
Eg, are you looking for only those open in the last week or month, rather than going back over all time?
March 20, 2024 at 5:28 pm
This is how my table looks except I used random numbers for my values. Some of the dx columns have values and some do not. How about actually showing...
March 20, 2024 at 10:22 am
Can you show us the T-SQL which generates this?
Using ROW_NUMBER() might do what you want, but I can't be sure.
March 20, 2024 at 10:17 am
Viewing 15 posts - 481 through 495 (of 13,838 total)