Viewing 15 posts - 3,961 through 3,975 (of 5,393 total)
I must say I'm quite disappointed I could not solve this problem in a simple way.
Maybe It's something beyond my skills.
Anyway this is the best I could put together:
IF OBJECT_ID('Tempdb..#TmpTbl')...
-- Gianluca Sartori
July 12, 2010 at 10:46 am
Thanks Gail.
It's hard to understand that kind of things without living in English-speaking countries...
-- Gianluca Sartori
July 12, 2010 at 9:27 am
Alvin Ramard (7/12/2010)
-- Gianluca Sartori
July 12, 2010 at 8:39 am
I think yesterday it was Emperor Paulpatine's birthday.
Happy birthday, Paul!
-- Gianluca Sartori
July 12, 2010 at 4:29 am
Don't forget to create the Tally table from the article code if you're using the split function!
Good luck with your query!
-- Gianluca Sartori
July 9, 2010 at 11:51 am
I'm not sure I understand all your requirements.
Why ID = 101 has 3 combinations? There are 4 fruits there...
Anyway this is what I could come up with. It could be...
-- Gianluca Sartori
July 9, 2010 at 11:50 am
Alvin Ramard (7/9/2010)
CirquedeSQLeil (7/9/2010)
Alvin will soon be making a christmas soon that involves flux capacitors, pork chops, and bears
Did you mean a Christmas song? I could probably write one,...
-- Gianluca Sartori
July 9, 2010 at 11:02 am
If your column is varchar try this:
DECLARE @test-2 TABLE (
DataSize varchar(10)
)
INSERT INTO @test-2 VALUES (1025)
INSERT INTO @test-2 VALUES (2568)
INSERT INTO @test-2 VALUES (12)
SELECT
'DataSize' =
...
-- Gianluca Sartori
July 9, 2010 at 10:18 am
If your column is of type int you can try this:
DECLARE @test-2 TABLE (
DataSize int
)
INSERT INTO @test-2 VALUES (1025)
INSERT INTO @test-2 VALUES (2568)
INSERT INTO @test-2 VALUES (12)
SELECT
'DataSize' =
...
-- Gianluca Sartori
July 9, 2010 at 10:18 am
Take a look at the article linked in my signature and find out what information is needed to get a quick answer on the forums.
Can you please post table definition...
-- Gianluca Sartori
July 9, 2010 at 10:14 am
Try this:
'DataSize' =
CASE WHEN CAST(DataSize AS int) >= 1024
...
-- Gianluca Sartori
July 9, 2010 at 9:49 am
FYI, I ended up using CONTEXT_INFO to store the name of last procedure called.
Thanks for the tip
-- Gianluca Sartori
July 9, 2010 at 9:45 am
Thanks Gail. It's not exactly what I was looking for, but you gave me a great idea!
For logging purposes every stored procedure in my db starts with a line like...
-- Gianluca Sartori
July 9, 2010 at 6:54 am
It's a connectivity issue then.
Check you network and firewall settings.
-- Gianluca Sartori
July 9, 2010 at 6:24 am
Can you connect from the DTS host to the SQL2008 server using SSMS or OSQL?
-- Gianluca Sartori
July 9, 2010 at 6:08 am
Viewing 15 posts - 3,961 through 3,975 (of 5,393 total)