Viewing 15 posts - 466 through 480 (of 3,348 total)
timotech (4/21/2016)
can i do something like this for example:
declare @Criteria nvarchar(4000)
set @Criteria = 'DayOfInterview'
Select @Criteria, Urbanisation, Gender, AgeGroup, Religion, MaritalStatus, from tmp
group by @Criteria
how can...
April 23, 2016 at 1:54 pm
If there is anything in the row (in another column) that defines it as new, then you could do part of your requirement by using a filtered index:
CREATE UNIQUE INDEX
ON...
April 23, 2016 at 1:41 pm
I tried to build a "sort-of" substitute based on the ASCII and CHAR functions, but ran into the same issue you had: both ASCII and CHAR are not supported.
The list...
April 23, 2016 at 1:28 pm
Sorry, was not aware you were using standard sample code.
I set up a SQL 2016 CTP3 VM on my Azure account and ran the same code you used. After changing...
April 23, 2016 at 1:13 pm
Can you perhaps also post the code of the UDF used? Both the T-SQL version and the natively compiled version, of course...
April 23, 2016 at 9:48 am
I am confused.
I never used this extraction and I cannot test it so I hope someone else will for the definitive answer. However, I expected the asnwer to be two...
April 22, 2016 at 5:38 am
Toreador (4/21/2016)
April 21, 2016 at 2:45 am
From the explanation:
TRY_CONVERT should obey the CAST and CONVERT rules, which note that truncated values are returned as an E for char and varchar. However, a NULL was returned on...
April 21, 2016 at 2:43 am
John Rowan (4/20/2016)
April 20, 2016 at 3:19 pm
somadattamallick (4/18/2016)
1. why we should delete older data(Example 2014 years data) first?
I do not see any compelling reason to do so from a technical point. From a logical point, I...
April 20, 2016 at 12:46 pm
The error message itself appears not to come from SQL Server, but from the application. However, the terms used are clear and tell us what the problem is.
Apparently, this software...
April 20, 2016 at 10:32 am
kaza_rohan (4/19/2016)
The Problem here is parent table is also acting like a child table.is there anyway to insert a record , for this kind of scenario ?
The ANSI-standard for...
April 20, 2016 at 9:51 am
Thanks for posting CREATE TABLE and INSERT statements, expected results, and the code you have so far - an excellent way to ask a question!
I copied your code, changed it...
April 20, 2016 at 9:44 am
Sgar... (4/16/2016)
Andrew Ryan (7/9/2009)
I want to use vaariables with my USE commands.
USE @DBName
GO
if I...
April 16, 2016 at 1:52 am
Ray K (4/15/2016)
Ed Wagner (4/15/2016)
Luis Cazares (4/15/2016)
DonlSimpson (4/15/2016)
Hugo Kornelis (4/15/2016)
Grumpy DBA (4/15/2016)
crookj (4/15/2016)
Revenant (4/15/2016)
Ed Wagner (4/15/2016)
ShipwreckExxon
spill
Drunk
Scotch
Irish
Beer
BBQ
Dinosaur (my fellow upstate New Yorkers will know what I'm talking about!)
PL/1
April 15, 2016 at 4:19 pm
Viewing 15 posts - 466 through 480 (of 3,348 total)