Viewing 14 posts - 16 through 29 (of 29 total)
Thanks you very much Eiriksson..Excellent solution with good matrix explanation..
But Need to exclude alphabet letters like I and O those easy to confuse letters with numbers from the series
November 29, 2014 at 12:32 am
g.britton (11/28/2014)
Jampandu (11/28/2014)
we are using sql 2014. we can implement the solution using sequences
How? Sequences do not allow apha-numeric data. They can only be of these types:
tinyint -...
November 28, 2014 at 8:15 pm
we are using sql 2014. we can implement the solution using sequences
November 28, 2014 at 8:27 am
Luis Cazares (11/26/2014)
November 28, 2014 at 7:36 am
Thanks Luis , sorry for the confusion.
As you all suggested we can go with identity columns as a primary key and computed column for unique sequence numbers.
November 26, 2014 at 7:41 pm
i have installed SQL Server instance in E drive(E:\program files\MSSQL12.SQL2014_4\MSSQL\DATA),
restored Master db in E drive it self ..
but I am not sure why error log shows "C:\Program Files\Microsoft...
October 27, 2014 at 10:14 pm
Hi ,
PFA is the Last few lines of Error log.
October 27, 2014 at 7:46 pm
Thanks Miller,
Query working as expected , here is the query I used for dynamic pivot from #temp2 result
DECLARE @sqlNVARCHAR(MAX)
DECLARE @dynamic_pivotNVARCHAR(MAX)
SET @dynamic_pivot = STUFF(( SELECT DISTINCT ',' + ColumnName FROM...
June 6, 2014 at 6:39 pm
Thanks Matt!
Is there any way to select columns names dynamically as we may add more key values pairs in XML in near future.
just like 4th row
INSERT INTO #temp
VALUES...
June 5, 2014 at 7:15 pm
Cody K (4/10/2014)
belvdr (4/10/2014)
Definitely worth noting. For Standard, you can still use Mirroring or Log Shipping, if you can handle a delay.
You can't use secondary mirrors for reporting without...
April 10, 2014 at 7:21 pm
Thanks Cody K,
So read-only replica is always sync with primary and we can query on read-only replica at any time.
April 8, 2014 at 11:19 pm
Grant Fritchey (3/18/2014)
March 18, 2014 at 9:43 pm
free_mascot (3/18/2014)
Delete it in small chunk might help?
Tried with TOP(100) .. but still no lock
March 18, 2014 at 12:07 am
free_mascot (3/17/2014)
Update and Delete both required exclusive lock hence it is natural. To avoid you can BCP data to archieve/delete during offpeack hours.HTH
There is no offpeack hours on that database...
March 17, 2014 at 11:54 pm
Viewing 14 posts - 16 through 29 (of 29 total)