Viewing 15 posts - 16 through 30 (of 359 total)
Duplicate rows in a result set can be caused by things like, in correct joins or perhaps the joins are correct but in one table you have a single row...
***The first step is always the hardest *******
November 8, 2019 at 10:20 am
in the SQL the parameter passed is varchar(150) ,so the datatype wont change, the oppo only asks if the parameter is null populate it with this value, so there wont...
***The first step is always the hardest *******
November 7, 2019 at 9:12 am
you can also use isnull function
Update APFinal
Set Comments = isnull(@Comments, 'No Comments Provided')
Where DocID = @DocID and ID = @ID
***The first step is always the hardest *******
November 6, 2019 at 9:08 pm
My primary role is data migration and i use both SISS and T-SQL, I use the tool i find the most appropriate for the task i'm trying to achieve. That...
***The first step is always the hardest *******
October 21, 2019 at 3:14 pm
this may help however if you want to do this for a short period you could use profiler
***The first step is always the hardest *******
October 21, 2019 at 10:42 am
is this a SQL or Excel question?
***The first step is always the hardest *******
October 21, 2019 at 10:25 am
Char(9) is a horizontal tab and has a Ascii value of 9, select '' yields null
select ascii(char(9)),ascii('')
what are you explicitly trying to do? are you looking where your column is...
***The first step is always the hardest *******
October 10, 2019 at 8:49 am
Before changing your maxdop read this https://support.microsoft.com/en-us/help/2806535/recommendations-and-guidelines-for-the-max-degree-of-parallelism-confi
***The first step is always the hardest *******
September 17, 2019 at 6:32 am
ideally we would need a create table and test data to help however, here is something for you to try
Create table test (col1 int, col2 varchar(10))
insert into test (col1,col2)
select 1,'TEST123'...
***The first step is always the hardest *******
September 16, 2019 at 12:36 pm
you could try un pivoting the data, something like this
select invoiceID,prov as provider,amount from (
SELECT *
FROM Testdata ) p
UNPIVOT
...
***The first step is always the hardest *******
July 29, 2019 at 8:37 am
this just gets better, they don't know!, what kind of software company doesn't know what the application does and why it does it.
This to me is a real security risk,...
***The first step is always the hardest *******
July 18, 2019 at 1:25 pm
i can't think why any application would need access to the master database, i would avoid using SQL Express because of the limitation on resources. I would push back to...
***The first step is always the hardest *******
July 18, 2019 at 11:59 am
if you want to preserve a small number of rows in a table then to speed up the delete process you could. for example lets say you have a large...
***The first step is always the hardest *******
July 1, 2019 at 8:54 pm
if you can provide your raw data in the format it is on your DB then we can assist more. that said google pivot tables, if all you are doing...
***The first step is always the hardest *******
June 25, 2019 at 7:19 pm
you have duplicates in 0, instead of a loop id create use a CTE using Row_number() to eliminate any duplicates
with cte as
(
SELECT t.*,rank() over (partition by...
***The first step is always the hardest *******
June 10, 2019 at 1:29 pm
Viewing 15 posts - 16 through 30 (of 359 total)