Viewing 14 posts - 361 through 374 (of 374 total)
xeops (2/28/2011)
Table1 (master)
ID
Location
LocationID
Lat
Long
Map
Table2(child)
ID
LocationID
Map
SQL query
SELECT
Table1.ID,
Table1.LocationID,
Table1.Lat,
Table1.Long,
Table2.[Map]
FROM Table1
LEFT OUTER JOIN Table2 ON Table1.LocationID = Table2.LocationID
i know this querry is worng, but what...
March 1, 2011 at 6:18 am
jcrawf02 (2/28/2011)
Stefan Krzywicki (2/28/2011)
jcrawf02 (2/28/2011)
February 28, 2011 at 2:54 pm
Brandie Tarvin (2/24/2011)
Tom.Thomson (2/23/2011)
I don't see much point in attempting obfuscation if the enemy can see inside the database.
That's a good point, Tom. But is "enemy" a good word choice...
February 24, 2011 at 6:57 am
drew.allen (2/23/2011)
Do you really want to return fiscal year plus calendar month rather than fiscal year plus fiscal period?
Good point. I was only focused on the technical "how do you...
February 23, 2011 at 3:05 pm
richard.kirby (2/23/2011)
I need to concatenate the following (which executes a function to select the financial year from a DateTime field):
SELECT *,
dbo.Fn_FinMonth (DatePart(MM,[Graded Date])) FinMth,
e.g. Month 04 = Financial Month...
February 23, 2011 at 12:39 pm
adam spencer (2/23/2011)
If I convert the data types like below will this the data types stick in the selected into temp #5407?
select convert(varchar(50),HIC) as HIC,convert(varchar(10),ICD9)as ICD9,HCC, DOS
into #5407
from...
February 23, 2011 at 12:31 pm
Thanks to everyone involved in writing this one. Great article!
February 23, 2011 at 5:59 am
Very useful article. Thanks very much for writing it.
February 17, 2011 at 5:13 am
PSB (2/16/2011)
DATEPART(m, ALLPOINT.dateloaded) = DATEPART(m, GetDate()) AND DATEPART(yyyy, ALLPOINT.dateloaded) = DATEPART(yyyy, GetDate())
but it is not pulling records which are only in...
February 16, 2011 at 12:21 pm
Not sure what version of SQL you are on, so I'm assuming SQL 2008.
This is only one possible option - there are certainly others, but hopefully this will get you...
February 16, 2011 at 11:44 am
Jeff Moden (2/15/2011)
Or... perhaps I'm just being a bit too critical of an introductory article.
I don't think you are.
I've seen plenty of "introduction to indexing" articles that are...
February 15, 2011 at 8:32 am
GilaMonster (2/15/2011)
February 15, 2011 at 7:03 am
Yeah, that's probably the most dangerous statement in the article. There are some excellent tests that show that heaps don't perform better for inserts. And they certainly don't for deletes...
February 15, 2011 at 5:50 am
# If the database supports a transaction processing system, then avoid using indexes because the
# performance of the insertion of new transactions will be degraded.
I disagree with this statement. I...
February 15, 2011 at 5:34 am
Viewing 14 posts - 361 through 374 (of 374 total)