Viewing 15 posts - 781 through 795 (of 2,038 total)
Allister Reid (5/26/2009)
Arrrgh! totally missed that, Flo, thanks for that.
No prob. You know I also make faults 😉
May 26, 2009 at 6:35 am
Copy my above script into SSMS and execute...
May 26, 2009 at 4:52 am
If you want a comma separated list of the numbers use a quirky update syntax (or a FOR XML, which performs better but is more complicated).
Here the quirky update:
DECLARE @Month...
May 26, 2009 at 3:29 am
You can also use an inline Tally table:
DECLARE @Month DATETIME
SELECT @Month = '2009-02-01'
; WITH
t1 AS (SELECT 1 N UNION ALL SELECT 1 N), -- 2
t2 AS (SELECT 1...
May 26, 2009 at 3:17 am
I confirm Adi. A Tally/Numbers table is a great helper for many things. It requires about 150kb disk usage and the profit is really huge.
Have look to this article just...
May 26, 2009 at 3:12 am
Hi
I would advice to use a Tally table:
DECLARE @Month DATETIME
SELECT @Month = '2009-02-01'
SELECT
N
FROM Tally
WHERE
...
May 26, 2009 at 2:48 am
Am I correct that you are speaking about release/version management? If yes, maybe you mean "upgrade" instead of "update".
Both word have the same meaning.
Just two examples from BOL:
Look for "Migration...
May 25, 2009 at 12:54 pm
Why not just adding a CurrencyTable which contains all currency names and their signs?
May 25, 2009 at 12:43 pm
Hi
@Allister: You referenced Jeff's article, but pasted the RBAR split version 😉
@hunter: Please have a look to Jeff's article. The performance difference between a WHILE loop and a set-based (Tally...
May 25, 2009 at 12:33 pm
So use a "Execute SQL Task" as I wrote.
Greets
Flo
May 25, 2009 at 10:57 am
Hi
If you just want to execute the procedure you should consider to use a simple SQL Server Agent job.
If you really want/need/have to use SSIS use a "Execute SQL Task".
Greets
Flo
May 25, 2009 at 10:46 am
... and all those features are a major reason for compatibility level 9.0.
I have to support SSE2k databases in combination with SSE2k5 databases. The new features are really great and...
May 25, 2009 at 10:17 am
Hi martin
The SELECT INTO only works if the destination table does not yet exist. If you want to insert the data into an existing table you have to use "INSERT...
May 25, 2009 at 10:00 am
Hi
Nope. There is no natural join in SQL Server, even not in SSE2k8. The closed version of a natural join in an INTERSECT.
Greets
Flo
May 25, 2009 at 5:58 am
Viewing 15 posts - 781 through 795 (of 2,038 total)