Viewing 15 posts - 631 through 645 (of 1,229 total)
Now if a field does not need updating, I guess the value in the table would stay null.
How to get around that in some cases (UPDATE X SET field4=7,...
January 14, 2016 at 11:06 am
abdullah.zarour (1/13/2016)
Quick questions. Have you ever partitioned a table? If so, can you provide some actual facts as to what the performance gains you realized?
Yes , I did...
January 13, 2016 at 6:19 pm
Eirikur Eiriksson (1/13/2016)
SQLRNNR (1/13/2016)
Jacob Wilkins (1/13/2016)
edwardwill (1/13/2016)
Jacob Wilkins (1/13/2016)
edwardwill (1/13/2016)
Eirikur Eiriksson (1/12/2016)
SQLRNNR (1/12/2016)
January 13, 2016 at 4:33 pm
abdullah.zarour (1/13/2016)
You might try the following point :
1. Create a table partition.
2. Configure the SQL Server Instance Option ( Optimize for Ad hoc workloads).
3. Check Max...
January 13, 2016 at 4:25 pm
If that is the case I am wondering how many different permutations of updated columns do you need compared to the number of Id's... which leads me to wonder if...
January 13, 2016 at 4:22 pm
Stijn977 (1/11/2016)
Can you further define "big transaction"?
==> 500 to...
January 13, 2016 at 2:41 pm
Orlando Colamatteo (1/12/2016)
MMartin1 (1/12/2016)
Orlando Colamatteo (1/12/2016)
titsiros (1/12/2016)
I know it's a...
January 12, 2016 at 6:42 pm
Orlando Colamatteo (1/12/2016)
titsiros (1/12/2016)
I know it's a grand task because...
January 12, 2016 at 6:02 pm
Borrowing from Eirikur's code a little bit,
Maybe you are looking for something like this ?
create table #sampleScheduleData
(
scheduledClass VARCHAR(50) ...
January 12, 2016 at 5:04 pm
I am assuming that this is a string column for a int column would not hold the leading zero by the way.
declare @myint int = '0123'
select @myint
Plus needless to...
January 12, 2016 at 4:45 pm
Now i want to convert this into yyyy-mm-dd format ie 2015-01-09
If you are still introducing this into another string column then
declare @mystring varchar(10) = '01092015' ;
select right(@mystring,4) +'-'+
left(@mystring,2)+'-'+
substring(@mystring,3,2)asdateFormattedString
This leaves...
January 12, 2016 at 4:40 pm
Eirikur Eiriksson (1/11/2016)
Hugo Kornelis (1/11/2016)
GilaMonster (1/10/2016)
t1 INNER JOIN t2 on t1.Col1 = t2.Col2 OR t1.Col1 = t2.Col3 OR t1.Col1 = T2.Col4
Don't know what the performance...
January 12, 2016 at 4:16 pm
Sergiy (1/5/2016)
It's like updating a view - it might work or might not work, but some...
January 5, 2016 at 5:30 pm
Or if you want to make this look more to what you may be familiar with, drawing off of your example ,
USE tempDB;
GO
/* ----------------------------- */
CREATE TABLE #stakeholder_notes(
note_id INTEGER NOT...
January 5, 2016 at 1:39 pm
Great, Sean's example solves this. You can refer to his last post.
January 5, 2016 at 1:19 pm
Viewing 15 posts - 631 through 645 (of 1,229 total)