Viewing 15 posts - 406 through 420 (of 1,162 total)
I've recently had to work with some MySQL databases and I think the core engine is fine (although the optimiser is very simplistic, so it's better for basic CRUD than...
April 27, 2012 at 7:40 am
That's certainly true for T-SQL UDFs.
Technically speaking a CLR UDF could affect pretty much anything it wanted, it would just be a bad idea as you have no guarantee...
April 27, 2012 at 5:26 am
Not sure I follow any of this advice. CPU and Memory are entirely different resources and the amount you'll require of each before you hit contention will depend on your...
April 26, 2012 at 9:27 am
capn.hector (4/25/2012)
if the OP wants to just multiply all the numbers with out the running total he can useSELECT EXP(SUM(LOG(NumCol))) FROM table
to get the final result.
It's easy...
April 25, 2012 at 10:01 am
This looks like a running total problem to me (with multiplications as opposed to additions). Most set-like solutions are going to run into some pretty horrendous triangular joins quite quickly....
April 25, 2012 at 9:21 am
The literal of double-quote in an SSIS expression is \" (backslash double-quote) as double-quote is reserved. Is that what you're after?
E.g. REPLACE([expression],"\"',"")
But why don't you just explicitly set the...
April 20, 2012 at 9:53 am
Vedran Kesegic (4/19/2012)
April 20, 2012 at 2:02 am
opc.three (4/19/2012)
itskanchanhere (4/19/2012)
April 19, 2012 at 9:41 am
SELECT TOP 10 ItemNo,Name,COUNT(ItemNo) AS TheCount FROM Table1
GROUP BY Division,ItemNo,Name
order by COUNT(ItemNo) desc
Edit: Sorry, just saw for each division.
Something like this should steer you in the right direction (untested...
April 19, 2012 at 5:14 am
Ignore system variables. They don't have anything to do with your FTP task username. The values aren't stored in variables, they're stored in the properties of the connection manager (this...
April 18, 2012 at 9:54 am
There are a few options here.
If you're using variables because you want to reference the value of the variable in multiple locations (e.g. a servername etc. that may be used...
April 17, 2012 at 9:10 am
There's a good video here about getting started with Profiler:
April 12, 2012 at 8:55 am
=Dateadd("d",-1,Today())
April 12, 2012 at 5:36 am
Stefan Krzywicki (4/11/2012)
I'm creating a visio diagram for the database behind a commercial product. There's a lot wrong with this database, but we've just...
April 11, 2012 at 8:03 am
If JobID is sequential and always starting from 1, then you could use something like this:
-- create example table Jobs
CREATE TABLE #Jobs (ID INT, Name NVARCHAR(16))
INSERT INTO #Jobs VALUES (1,'Job...
April 4, 2012 at 7:33 am
Viewing 15 posts - 406 through 420 (of 1,162 total)