Viewing 15 posts - 16 through 30 (of 86 total)
I think the answer is 5, can also be considered correct
or am i wrong?
October 26, 2016 at 10:22 pm
I think the same thing
AS Alias
And AS 'Alias'
also i can write AS [Alias]
, or write CTE
so there are only three ways: "=", "AS" and column
September 1, 2015 at 11:25 pm
I got an error: "String or binary data would be truncated. The statement has been terminated."
(0 row(s) affected);-)
September 10, 2013 at 10:17 pm
Select a.code, a.price, (price * percent * case when check = 1 then 1 else 8 end) as new_field
From a,b
Where a.code = b.code
?
March 26, 2013 at 12:23 am
the answer is ambiguous and depends from collations
get my point back 🙂
February 26, 2013 at 9:23 pm
This article helped me
http://msdn.microsoft.com/en-us/library/aa905162(SQL.80).aspx
December 18, 2012 at 9:26 pm
too mach scans
select
*
from
reporthistory rh
where
not exists (select * from reporthistory rh1 where rh1.Report_id = rh.Report_id and rh1.ReportHistoryID > rh.ReportHistoryID)
and (select top 1 rh1.Report_status_id from reporthistory rh1 where...
September 25, 2012 at 1:14 am
August 24, 2012 at 12:40 am
support-555807 (8/22/2012)
August 22, 2012 at 11:04 pm
I think no
1. if you reduce the number of events to a minimum, the load will be minimal
read this article Finding the Causes of Poor Performance in SQL Server, Part...
August 21, 2012 at 8:05 am
have you checked all the processes from all users?
use "tasklist"
August 20, 2012 at 11:01 pm
MSSQL does not have built-in diagnostics.
but you can create your own based on sp_trace_create and etc. or use Profiler
August 20, 2012 at 10:55 pm
Better late than never
declare @temptabnew table (id int, name varchar(50), datestarted datetime)
declare @temptabold table (id int, name varchar(50), datestarted datetime)
insert into @temptabnew values (1, 'John Smith', '2000-01-01')
insert into @temptabnew values...
August 20, 2012 at 5:58 am
select @@VERSION
Microsoft SQL Server 2008 (SP3) - 10.0.5500.0 (X64) Sep 21 2011 22:45:45 Copyright (c) 1988-2008 Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1...
February 21, 2012 at 9:30 pm
Viewing 15 posts - 16 through 30 (of 86 total)