Viewing 15 posts - 31 through 45 (of 66 total)
Hossein,
sp_executesql supports output parameters, see BOL.
Jan
May 15, 2007 at 6:00 am
Robert,
My functions are not used in production yet, so I wouldn't really know about this behaviour. Thanks for the warning, I will keep an eye on memory leaks and overall...
May 15, 2007 at 12:19 am
Why not try to write user defined scalar functions that mimic this access behaviour?
Jan
May 14, 2007 at 12:26 pm
As Itzik also pointed out the CLR comes in handy if for calculations; things that have nothing to do with database access, but nevertheless need to be done in the...
May 14, 2007 at 12:20 pm
Mark,
A bit more background info would do nicely.
Where is the END of your BEGIN block? Surely you cannot do a SELECT INTO #tmp inside a loop because it creates a...
April 24, 2007 at 8:09 am
Luke,
If it is a one-to-one relationship, you could turn this around: create one table where you do the updates and create “Events” and “eventDetails” as views on it for backward...
April 24, 2007 at 7:55 am
Jerry,
You could use a clustered index with a fillfactor that leaves some space on the datapages (e.g. 50%) and rebuild it in off peak hours. Maybe you can make the...
April 24, 2007 at 7:39 am
I have the impression that with the updateable view and the instead of trigger, you will just end up with the same code and the same inserts but then implemented...
April 24, 2007 at 7:30 am
Luke,
One thing you could consider here is to use SCOPE_IDENTITY() to identify @maxid. This will avoid having to do the
SELECT @maxid = MAX(ID) FROM Events WHERE CreatedBy = @username
for...
April 24, 2007 at 12:43 am
Hi all,
I'm experiencing the opposite problem: I'm importing an excel with numeric data and an error in one value which is a string. I'm using the "Data Conversion Transformation" in...
April 12, 2007 at 3:09 am
Hi Camilo!
Thanks, but I never installed SQL 2000 on this machine.
And it seems I have no program called ARPWrapper.exe. Where can I find it?
Thanks,
Jan
March 22, 2007 at 9:40 am
Why would you put everything in a temp table first and join that again afterwards? Everything record in your temporary table will have to be written to the tempdb (wether...
August 31, 2006 at 9:03 am
You will need some kind of tiebreaker for the duplicates.
E.g. group by the MIN(category_id) on categories.
Jan
August 31, 2006 at 8:56 am
Try to qualify your function with the owner, like this:
select a.table_id, b.Value
from tableA a
join dbo.getData(a.table_id) b where a.table_id=b.of_id
otherwhise the parser thinks getData is a table and (a.table_id) an optimizer...
August 31, 2006 at 8:53 am
Thanks Colin,
I have the following Data Columns:
EventClass
ObjectID
TextData
ApplicationName
NTUserName
LoginName
ClientProcessID
SPID
StartTime
As event I only have "Missing Join Predicate"
But still I don't see an objectid or Textdata appearing.
Regards,
Jan
August 31, 2006 at 8:48 am
Viewing 15 posts - 31 through 45 (of 66 total)