Viewing 15 posts - 76 through 90 (of 440 total)
What is the total size of these 9 million rows?
June 13, 2012 at 7:12 am
Just for the record, this issue can show up very quickly if a user database and tempdb have different collations, as all temp tables are created in tempdb and (as...
June 13, 2012 at 5:05 am
Firewall was my first thought, good to hear that the issue is fixed now.
June 12, 2012 at 1:59 pm
And SQL Server Browser?
June 12, 2012 at 9:48 am
The quick DYI answer would be:
1. No identity on second table
2. Do all the data modifications in a single transaction
3. Insert in the first table
4. Retrieve SCOPE_IDENTITY to get the...
June 12, 2012 at 6:50 am
jwmott (6/11/2012)
June 12, 2012 at 6:43 am
When SQL Server is running on node 1, ensure that the SQL Server Browser is started, and that SQL Server Browser traffic is allowed through windows firewall (UDP 1434). As...
June 12, 2012 at 1:25 am
Without the execution plans and a bit of understanding of your data, it is hard to tell. However, based on the statistics in your database, SQL Server thinks it can...
June 12, 2012 at 1:14 am
Something like this?
SELECT TOP 1000
[ModelId] ,
[GroupId] ,
...
June 7, 2012 at 4:12 am
Even separate spindles may not always be satisfactory, as the bus subsystem (eg the FC or iSCSI connection) may be the most limiting factor.
June 7, 2012 at 2:17 am
vinu512 (6/6/2012)
You can do it like this:
Select a.year, a.week, SUM(a.total_savings) From
(Select * From Ex
union
Select * From Ex1) As a
Group By a.year, a.week
If so, you have to use union all, as...
June 6, 2012 at 12:25 pm
select t1.total_savings+t2.total_savings as total_savings
from
t1 inner join
t2 on t1.year = t2.year and t1.week = t2.week
June 6, 2012 at 3:51 am
A brilliant example of the importance telling what you want. You (apparently) want the due date where the month is may, which can be retrieved with the following query:
SELECT DueDate...
June 6, 2012 at 2:30 am
I would definitely not enable xp_cmdshell on all my servers, due to the security risk of it.
June 6, 2012 at 12:11 am
Abrar Ahmad_ (6/4/2012)
June 4, 2012 at 11:38 am
Viewing 15 posts - 76 through 90 (of 440 total)