Viewing 15 posts - 766 through 780 (of 1,251 total)
richxs (1/15/2015)
Giraffe DBA (1/14/2015)
SQLRNNR (1/14/2015)
Ed Wagner (1/14/2015)
djj (1/14/2015)
BWFC (1/14/2015)
Ed Wagner (1/14/2015)
Stuart Davies (1/14/2015)
TomThomson (1/13/2015)
Ed Wagner (1/13/2015)
SQLRNNR (1/13/2015)
regexPattern
Match
Point
Edge
Bono
Sonny
Cher
Babe (i've got you ...)
Ruth
Sultan
Swing
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
January 15, 2015 at 2:25 am
Ed Wagner (1/14/2015)
Stuart Davies (1/14/2015)
TomThomson (1/13/2015)
Ed Wagner (1/13/2015)
SQLRNNR (1/13/2015)
regexPattern
Match
Point
Edge
Bono
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
January 14, 2015 at 5:56 am
I did think your question was over-thinking things with CASE statements in there. You're right, MIN() won't work. Can you post some sample data please? This...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
January 9, 2015 at 5:12 am
Depending on what you're trying to to select MIN(datecolumn) will do it.
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
January 9, 2015 at 4:50 am
I should have been clearer about the potential risks, although I'll admit to forgetting completely about QUOTENAME.
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
January 8, 2015 at 8:38 am
In VERY simple terms:
declare @tablename varchar(50) = 'YourTableName'
declare @SQl Nvarchar(4000)
set @SQL =
N'select * from '+@tablename
exec(@SQL)
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
January 8, 2015 at 8:17 am
Koen Verbeeck (1/7/2015)
Nice question, but I'd argue GROUPING doesn't ignore NULL values as well.
That's what I took from BOL and got the question wrong.
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
January 7, 2015 at 2:34 am
Ed Wagner (1/6/2015)
CELKO (1/6/2015)
You just have to adjust your baking time.
You mean I have to use kiloseconds for a kilogram cake :w00t:
Silly me - I still use minutes in...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
January 6, 2015 at 7:49 am
Ed Wagner (1/5/2015)
CELKO (1/5/2015)
I've actually got a few recipes that call for equal weights of eggs and other ingredients. You weigh the eggs in the shells then match the...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
January 6, 2015 at 1:03 am
It would be funny though, to change recipes to call for 25 grams of egg yolk fully encapsulated by 33.7 grams of egg white instead of just calling for "1...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
January 5, 2015 at 8:54 am
crookj (1/5/2015)
Ed Wagner (1/5/2015)
djj (1/5/2015)
Ed Wagner (1/5/2015)
Stuart Davies (1/5/2015)
Ed Wagner (1/5/2015)
SQLRNNR (1/2/2015)
SonicBoom
Bust
Museum
Night
History
Buff
Polish
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
January 5, 2015 at 7:29 am
I'm really not sure what you want to do here but it's best to include the columns you want by name rather than using SELECT * and trying to exclude...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
January 2, 2015 at 4:01 am
ChrisM@Work (1/2/2015)
Query 1 (insert into #temp_violation etc.) has an odd filter:
and
(
cast(fh.startdate as date)<= cast(tv.startdate as date)
and
cast(fh.startdate as time)<= cast(tv.startdate as time)
)
This will capture datetimes from fh where they...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
January 2, 2015 at 2:50 am
ChrisM@Work (12/31/2014)
Have you considered using EXISTS No I hadn't, see my earlier comment about being a noob 🙂 The fact it ran at all...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
December 31, 2014 at 5:37 am
I've finally got back to this after the Christmas break and a brief sojourn in proper work.
Thanks for your advice gents. I learned something very useful about execution...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
December 31, 2014 at 2:55 am
Viewing 15 posts - 766 through 780 (of 1,251 total)