Viewing 15 posts - 61 through 75 (of 374 total)
Easy one for Friday, thanks 🙂
July 11, 2014 at 12:17 am
bilal 17797 (7/9/2014)
I want to write sql query which runs in a background on cyclic basis. Basically i want to count the row entries of 1 table and store the...
July 10, 2014 at 8:00 am
cstrati (7/10/2014)
select mvID, title, rating, length ,studiofrom MovieInfo
where rating not like 'R'
and
where (length > 90)
Seems to be a problem with line 5
Thanks in Advance.
Query should be
select mvID, title, rating, length...
July 10, 2014 at 5:34 am
You need to use ALTER PARTITION SCHEME to put next set of data & ALTER PARTITION FUNCTION with SPLIT RANGE command to do the job.
Refer:
ALTER PARTITION SCHEME - http://technet.microsoft.com/en-us/library/ms190347(v=sql.110).aspx
ALTER...
July 10, 2014 at 5:25 am
Physical joins are the ones, which will be used by sql Server internally. You will not write queries with them unless you explicitly specify with Hints.
Logical joins: Inner join, Outer...
July 10, 2014 at 12:09 am
chengchong36 (7/9/2014)
July 10, 2014 at 12:04 am
bill.warner7 (7/9/2014)
How do I do an insert for each row, without iterating over the available rows?
if runtime temp table is ok then you can use below:
SELECT * INTO #tempTable FROM...
July 9, 2014 at 6:23 am
Luis Cazares (7/8/2014)
Are we supposed to do your work?
+1
Or do you have something done already?
Please share if you have already done something.
There are options like CTE, Self - joins,...
July 9, 2014 at 1:10 am
solomon.jernas (7/9/2014)
is it possible to migrate 7TB database within 30 minutes ?if yes, what is the best way ?
Regards
Jernas
It is hard to say without any details. How you...
July 9, 2014 at 1:02 am
Koen Verbeeck (7/8/2014)
Hardy21 (7/8/2014)
July 8, 2014 at 6:17 am
I hope it is not Live system as you have not mentioned about it.
You need to drop primary key & add it again with CLUSTERED clause as below
ALTER TABLE mappingTable...
July 8, 2014 at 6:06 am
Hany Helmy (7/5/2014)
July 7, 2014 at 12:46 am
Viewing 15 posts - 61 through 75 (of 374 total)