Viewing 15 posts - 6,076 through 6,090 (of 8,761 total)
Quick thought, looks like your SSMS is of an earlier version than the SQL Server instance.
😎
March 6, 2015 at 1:14 am
gentong.bocor (3/5/2015)
happycat59 (3/5/2015)
Try something likeselect
Field1
, Field2
, DENSE_RANK () OVER (ORDER BY Field1) AS SeqNo
FROM YourTable
yes.. it's get repeated seqno now based on field1, but it's sorted by field1.
it's not...
March 5, 2015 at 11:37 pm
SQLBill (3/5/2015)
Eirikur Eiriksson (3/5/2015)
SQLRNNR (3/5/2015)
Sean Lange (3/5/2015)
Sioban Krzywicki (3/5/2015)
Sean Lange (3/5/2015)
Brandie Tarvin (3/5/2015)
SQLRNNR (3/5/2015)
dwain.c (3/5/2015)
March 5, 2015 at 12:37 pm
SQLRNNR (3/5/2015)
Sean Lange (3/5/2015)
Sioban Krzywicki (3/5/2015)
Sean Lange (3/5/2015)
Brandie Tarvin (3/5/2015)
SQLRNNR (3/5/2015)
dwain.c (3/5/2015)
March 5, 2015 at 12:26 pm
Quick suggestion
😎
select x.*
from TableX x
join TableY y1 on y1.Y1 = x.X1
and y1.Y2 = x.X2
March 4, 2015 at 11:30 pm
Quick cross-tab solution, should be enough to get you passed this hurdle
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.TBL_SAMPLE_VISIT') IS NOT NULL DROP TABLE dbo.TBL_SAMPLE_VISIT;
CREATE TABLE dbo.TBL_SAMPLE_VISIT
(
SV_NAME VARCHAR(50) NOT...
March 4, 2015 at 6:48 am
As hcip.77 said there is no single correct response but this is still a very valid question, I would answer it as if it was worded slightly differently: "Your users,...
March 3, 2015 at 11:16 pm
Quick note, each case statement can only output to a single column, consider this example
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @SAMPLE_DATA TABLE
(
COL_1 INT NOT NULL
...
March 3, 2015 at 6:37 pm
polo.csit (3/2/2015)
i am using the query
select id From Job where Title like '%java%'
it will take 10 sec time
after that i am using the Force Index Query Hints
like
select...
March 3, 2015 at 1:22 am
On the risk of sounding corny, welcome home Lynn!
😎
March 1, 2015 at 2:07 pm
Cutting to the straight chase, cloud providers have no say about your M$ limitations or M$ contractual capacity, either you got this wrong or your question is wrong (maybe both?)
😎
March 1, 2015 at 2:05 pm
Jeff Moden (3/1/2015)
March 1, 2015 at 1:59 pm
Lynn Pettis (3/1/2015)
March 1, 2015 at 1:43 pm
That would be the result set prior to the cross-tab or in other words, just remove the cross-tab case statements
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @table TABLE
(
...
March 1, 2015 at 6:16 am
evaduva (2/28/2015)
Could someone please tell me what is the maximum size of a DB hosted on SQL 2012 cloud environment? I would appreciate if the answer came from a real...
March 1, 2015 at 4:23 am
Viewing 15 posts - 6,076 through 6,090 (of 8,761 total)