Viewing 15 posts - 4,351 through 4,365 (of 26,490 total)
rodjkidd (11/2/2015)
My lasting memories will be;
The Threadizens taking over one of the birds of a feather tables (don't tell anyone), and the photo!
Gail's hat for ArgenisWithOutBorders - I...
November 2, 2015 at 4:55 pm
SQLRNNR (10/31/2015)
For thread posterity:
It was awesome to get to meet some of the denizens of The Thread last week. Too bad Jeff Moden wasn't able to be there this...
November 2, 2015 at 9:23 am
Grant Fritchey (10/27/2015)
October 27, 2015 at 12:46 pm
Does this work (can't test it, on a flight to Seattle)?
declare @startdate datetime = "20151126";
select dateadd(day,5,dateadd(month,10,dateadd(year,year(@startdate) - 1900 - 1),0)));
October 26, 2015 at 12:26 pm
Did some one post an ad somewhere that said we had a surplus of silver spoons? :w00t:
October 23, 2015 at 6:14 pm
One, not enough information to even write a query.
Two, based on the information provided this should be a relatively simple query to write.
You may want to read to the first...
October 23, 2015 at 6:08 pm
Something like this?
SELECT
DATEPART(yyyy,tc.Call_Date) AS ArchiverYear
FROM
dbo.tblCall tc
INNER JOIN PrismDataArchive.dbo.ArchiveDriver AS Arch
...
October 23, 2015 at 1:12 pm
chindilog (10/22/2015)
October 22, 2015 at 11:35 am
mw112009 (10/22/2015)
FOUND THE MISTAKE.. ALL Set ....
Select object_name(SI.object_id) as tab_name,
( Select c.name from sys.columns c where object_id = SI.object_id AND c.column_id = SIC.column_id ) as [index_col_name]
from
sys.indexes SI...
October 22, 2015 at 11:33 am
mw112009 (10/22/2015)
I changed it here and there ...
May I ask whether we could also do a similar query to identified PRIMARY keys ???
select distinct
A.name as tab_name...
October 22, 2015 at 10:00 am
Well, I see the problem, ORM Generated queries. They may be fine for trivial queries, but you really should write the more complex ones yourself to allow for performance...
October 21, 2015 at 9:39 am
Determine if ColumnA has duplicate values:
select
ColumnA,
count(*)
from
dbo.MyTable
group by
ColumnA
having
count(*) > 1;
Hopefully I...
October 21, 2015 at 9:34 am
david 70530 (10/20/2015)
First I used the statement to figure out the trouble makers and there were about 8 or so records. I was going to delete them but decided...
October 20, 2015 at 3:47 pm
The following will drop all foreign key constraints in your database. Be sure to remove the space between the d and e in the first statement.
d eclare @SQLCmd nvarchar(max);
set...
October 20, 2015 at 2:15 pm
hlsc1983 (10/20/2015)
GilaMonster (10/20/2015)
Probably best if you keep this within the same thread, that way people can see everything that's already been discussed.http://www.sqlservercentral.com/Forums/Topic1523529-391-1.aspx
hi, i did but i am not getting any...
October 20, 2015 at 12:39 pm
Viewing 15 posts - 4,351 through 4,365 (of 26,490 total)