Forum Replies Created

Viewing 15 posts - 31 through 45 (of 66 total)

  • RE: EXECUTING A STRING (URGENT HELP PLEASE)

    Hossein,

    sp_executesql supports output parameters, see BOL.

    Jan

  • RE: Actual Reason to Use CLR

    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...

  • RE: From Access --->>> SQL Server 2005 (IIF, Format, Shape, *,....)

    Why not try to write user defined scalar functions that mimic this access behaviour?

    Jan

  • RE: Actual Reason to Use CLR

    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...

  • RE: Use of temp table

    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...

  • RE: Insert into events, EventDetails...

    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...

  • RE: Regarding blocking in sql server 2000

    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...

  • RE: Insert into events, EventDetails...

    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...

  • RE: Insert into events, EventDetails...

    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...

  • RE: DataType Conversion

    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...

  • RE: SQL2K5 reinstall on Vista

    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

  • RE: is not a recognized OPTIMIZER LOCK HINTS option

    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...

  • RE: Duplicate rows

    You will need some kind of tiebreaker for the duplicates.

    E.g. group by the MIN(category_id) on categories.

    Jan

  • RE: is not a recognized OPTIMIZER LOCK HINTS option

    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...

  • RE: Missing Join Predicate

    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

Viewing 15 posts - 31 through 45 (of 66 total)