Viewing 15 posts - 27,121 through 27,135 (of 59,101 total)
mrivero1961 (3/28/2013)
mrivero1961 (3/28/2013)
Sean Lange (3/28/2013)
I really can't tell from what you have posted what...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2013 at 1:15 pm
mak101 (3/29/2013)
Here is my data in...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2013 at 1:09 pm
santhosh_ms3 (3/29/2013)
i tried this and its working... but not sure how far its accurate as its based on physical location.
my requirment is to get top 3...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2013 at 1:03 pm
AndrewSQLDBA (3/30/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2013 at 1:00 pm
Koen Verbeeck (3/28/2013)
Because someone has to answer all those BI questions on this forum...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2013 at 12:47 pm
lazarjojic (3/30/2013)
I was wondering if I could find some queries and database tables for them. I would like to have some complicated tasks for which I need to write queries...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2013 at 12:37 pm
tmac25 (3/29/2013)
Bump, still working at this. 🙂Thanks!
"Bump" indeed. Instead of going back and forth, over and over, post some data and tables for us to use so we can...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2013 at 12:27 pm
Another problem with doing it using a permanent table, whether in TempDB or some other database, is the chance of a naming conflict. You could go through some gyrations...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2013 at 12:17 pm
vinu512 (3/28/2013)
Declare @sql Varchar(MAX)
-- Set up some test data
Create table product(ProductId Int, ProductName Varchar(30),CategoryID Int)
Create table...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2013 at 12:00 pm
umarrizwan (3/29/2013)
SELECT P.PRODUCTID,P.PRODUCTNAME,C.CategoryID,C.CATEGORYNAME,
STUFF((SELECT ',' + convert(varchar,PP.ProductQuantity)
FROM ProductPricing PP
WHERE PP.PRODUCTID=P.PRODUCTID
FOR XML PATH('')),1,1,'') AS ProductQuantity,
STUFF((SELECT ',' + convert(varchar,PP.ProductCost)
FROM ProductPricing PP
WHERE PP.PRODUCTID=P.PRODUCTID
FOR XML PATH('')),1,1,'') AS ProductCost
FROM...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2013 at 11:51 am
Laura_SqlNovice (3/29/2013)
I have a table with a column which is VARCHAR. This column has text and potentially Credit Card # and also has couple of dates. What I need...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2013 at 11:36 am
opc.three (3/30/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2013 at 10:57 am
That's part of the misperception. For example and just like xp_CmdShell, there's no natural auditability or logging (and I'm not talking the LDF file) if someone deletes rows from...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2013 at 7:05 am
TravisDBA (3/29/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2013 at 10:01 am
Steve Jones - SSC Editor (3/29/2013)
jfogel (3/29/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2013 at 9:59 am
Viewing 15 posts - 27,121 through 27,135 (of 59,101 total)