Viewing 15 posts - 316 through 330 (of 2,647 total)
nothing you can do really within sql other than cleaning up after loading.
you may be able to get the data cleaned in excel itself (ask the owner of it to...
November 29, 2023 at 1:57 pm
and on long run having a key-value table end up being better for this type of things as you always end up requiring more entries added, so better to just...
November 27, 2023 at 12:02 pm
as you have been advised before we need you to post create table DDL, insert statements into the tables required, and what you tried - while a image is good...
November 26, 2023 at 6:47 pm
duplicated of https://www.sqlservercentral.com/forums/topic/sequentially-update-a-column-with-a-decrementing-value
November 24, 2023 at 6:58 pm
this isn't a Oracle site - you better off asking elsewhere
November 24, 2023 at 6:57 pm
first of format your code - it is showing as a single line.
second - use a staging table and do the dedup from it within your code.
if you don't know...
November 23, 2023 at 8:38 am
try and get on your developers mind that SQL Server LIKES to have a clustered table on each table. Ideally a UNIQUE clustered index.
so as a rule of thumb, if...
November 22, 2023 at 8:06 pm
you are likely better off creating a separated list of emails into a temp table, do a split of the domain into its own column and then use it to...
November 22, 2023 at 2:49 pm
why doesn't pivot work for you?
2 ways of doing it with pivot below
drop table if exists #data
select *
into #data
from (values (1, 'Swimming')
...
November 21, 2023 at 11:54 pm
this isn't a Oracle forum - so you would be better off asking elsewhere dedicated to Oracle.
but (assuming this ain't spam) the answer is no there isn't a better way.
November 21, 2023 at 9:45 pm
have a look at these https://www.webfx.com/blog/web-design/10-free-server-network-monitoring-tools-that-kick-ass/
my company, for some of their servers is now using https://www.zabbix.com/
November 21, 2023 at 8:21 am
ty with the path within double quotes - note that I didn't escape them below - but you will need to do that for sure (possibly a double double quote)
November 20, 2023 at 11:07 am
its all in this line
" , STRING_AGG(coalesce(t3.word, t2.value), '|') within group (order by t2.ordinal) as Modified"
plus the group by bt.original
string_agg converts from rows to a single column - and the...
November 19, 2023 at 6:58 pm
install-module won't work for this - sqlps is not the same as sqlserver modules. if this was SQL 2022 you could tell SQL Agent to use SQLSERVER module instead of...
November 19, 2023 at 11:28 am
look at this link then https://www.pythian.com/blog/powershell-error-sqlps-ps1-cannot-loaded-running-scripts-disabled-system
but heed the advise on the bottom - do not use native SQL PowerShell and instead use a command file to run with the most...
November 19, 2023 at 9:36 am
Viewing 15 posts - 316 through 330 (of 2,647 total)