Viewing 15 posts - 1,426 through 1,440 (of 13,855 total)
Thanks for the reply, Phil! I think I could handle a simple query like that as well. Where it starts getting rough for me is when there are [x]...
May 5, 2022 at 3:55 pm
What is the datatype of the column 'status_count'?
We have assumed that it is an integer, but I suspect that it is not.
varchar cause there are letter in itย ...
May 5, 2022 at 10:04 am
Wow, I can see why your life is miserable! ๐
I believe that I could do it in SQL, but it would take a significant amount of effort.
If you were to...
May 5, 2022 at 8:53 am
You've been here long enough to know about providing your sample data in a form which can be pasted into SSMS (with relevant CREATE TABLE and INSERT statements), rather than...
May 5, 2022 at 8:46 am
What is the datatype of the column 'status_count'?
We have assumed that it is an integer, but I suspect that it is not.
May 5, 2022 at 8:44 am
What happens when only one of the columns has an image?
May 4, 2022 at 4:02 pm
Something like this. Calling your table 'table' is a really bad idea, because 'table' is a reserved word - that is why I have surrounded it with square brackets and...
May 4, 2022 at 3:03 pm
Honestly, I don't end up with the #t, ct etc.
I tried to replace anything regarding my data but didnt work
Sorry
Please post what you tried and I will try to...
May 4, 2022 at 2:40 pm
Here is one way. (For future reference, please note how I set up sample data in a form which can be cut & pasted directly into SSMS.)
DROP...
May 4, 2022 at 2:07 pm
Are you trying to get something like this? (Untested and probably has error!)
SELECT pcx = SUM(IIF(tab.status = 'X', 1, 0)) * 100.0 / COUNT(1)
...
May 4, 2022 at 1:21 pm
Welcome to the forum.
You need to tell us what the source data looks like in order for us to tell you how to achieve the result.
Alternatively, be more specific with...
May 4, 2022 at 1:12 pm
The error message seems self-explanatory. Can you post here the parameter text which is resulting in the error?
Edit: why are you trying to modify the parameter name and not its...
May 4, 2022 at 12:59 pm
Arrays do not exist in SQL Server, But strings can still be split and referenced by their ordinal ('ItemNumber' in the following).
This code relies on the existence of the legendary...
May 3, 2022 at 1:58 pm
Jeff, that's a rather useful link, thanks for posting.
May 2, 2022 at 6:12 pm
Can't seem to get original file to process gets errors listed above.. sample file will process.
Any thoughts or suggestions?
Thanks again
I have some suggestions:
May 2, 2022 at 2:57 pm
Viewing 15 posts - 1,426 through 1,440 (of 13,855 total)