Viewing 15 posts - 2,941 through 2,955 (of 3,957 total)
Jeff Moden (8/27/2012)
August 27, 2012 at 9:41 pm
At least you didn't say your dog ate it. Then it would have sounded like a homework problem. 😛
You're most welcome but all I did was try.
August 27, 2012 at 7:40 pm
Jeff Moden (8/27/2012)
I'm not even sure they make 32 bit laptops anymore. It's a 64 bit machine (I5 processor).
That's true enough and if the OS came pre-installed it is...
August 27, 2012 at 7:27 pm
You didn't say whether the OS is 32 bit or 64 bit, but the message says you can install SP1 after installing SQL 2008 to avoid the compatibility issues.
This link...
August 27, 2012 at 7:16 pm
This should work in SQL 2000:
CREATE TABLE #Temp
(TNID INT, TN VARCHAR(20))
INSERT INTO #Temp
SELECT 3011170, '4402787100'
UNION ALL SELECT 3011170, '4402787101'
UNION ALL SELECT 3011170, '4402787102'
UNION ALL SELECT 3011170,...
August 27, 2012 at 6:52 pm
You've given us expected results, which is a good thing. Some people like me visualize solutions most easily when this is provided.
However you have not provided DDL for your...
August 27, 2012 at 6:37 pm
First, start with a better string splitter, like the one from Jeff Moden:
http://www.sqlservercentral.com/articles/Tally+Table/72993/
Then use cascading CROSS APPLYs, thusly:
declare @parameter varchar (200)
set @parameter ='1_2_3|4_5_6'
SELECT ss=MAX(CASE c.itemnumber WHEN 1 THEN c.item...
August 27, 2012 at 4:06 am
Koen Verbeeck (8/27/2012)
I guess you are using SSIS?Take the 2007 option, normally it should work.
Agreed. The .xlsx format in 2010 has not changed from 2007.
August 27, 2012 at 3:50 am
Koen Verbeeck (8/27/2012)
That's because in SQL Server, we use set-based queries instead of cursors.
Alas, this is wishful thinking. I wish everybody did. 🙂
August 27, 2012 at 3:04 am
shikhar_0511 (8/27/2012)
SELECT c.Origin, c.Destination, c.Tonnage
,n=ROW_NUMBER() OVER...
August 27, 2012 at 2:37 am
Actually you can try this:
select *
from tablename
where id IS NULL or RTRIM(ISNULL(name, '')) = '' OR sal IS NULL
August 27, 2012 at 2:33 am
shikhar_0511 (8/27/2012)
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your...
August 27, 2012 at 2:29 am
Or if your data is incomplete, as I have demonstrated by commenting out one of the set up rows, you can explode the CTE1 with a FULL OUTER JOIN to...
August 27, 2012 at 12:21 am
shikhar_0511 (8/26/2012)
here is the new defined problem(forget about the old one):
I m working on something called the analysis...
August 26, 2012 at 11:54 pm
No +1 for my performance improvements? :crying:
August 26, 2012 at 11:49 pm
Viewing 15 posts - 2,941 through 2,955 (of 3,957 total)