Excel

Technical Article

RE: Calling a C# Method from an xproc

  • Reply

SP_oa~ series procs let you interact with COM objects, so you could compile it with the COM interop setting, access it that way. A different way would be to shell a mini exe that just runs the dll and uses a value passed on the command line. Andy http://qa.sqlservercentral.com/columnists/awarren/

2003-06-09

1 reads

Technical Article

RE: New column not updating

  • Reply

Nice work Andy. Running profiler led me to the sp_msupd sproc. The dist agent was passing the correct variables but my sproc was not running appropriately. This is one that I have manually modified to handle identities and primary key settings. When I manually added the columns to the sp, I should have pushed the […]

You rated this post out of 5. Change rating

2003-06-09

Technical Article

RE: Sql Server 2000 error 913

  • Reply

See if any of the following apply: http://support.microsoft.com/default.aspx?scid=kb;en-us;819264 http://support.microsoft.com/default.aspx?scid=kb;EN-US;316541 K. Brian Kelley http://www.truthsolutions.com/ Author: Start to Finish Guide to SQL Server Performance Monitoring http://www.netimpress.com/shop/product.asp?ProductID=NI-SQL1

You rated this post out of 5. Change rating

2003-06-06

Technical Article

RE: Set-based solution possible?

  • Reply

Try this, I hope it will help: /* Assumption 1: PutawayPriority is unique for each Item (no two bins for an item can have the same priority) If this is not true, the some another criteria should be used to UNIQUELLY order bins, like concatenating the BinId to the priority (converted to varchar). Assumption 2: […]

2003-06-06

Technical Article

RE: TOP 5 Projects for Employees

  • Reply

I realize that, as this uses a cursor, it's the ultimate evil; however: SELECT Timecard.EmpID, SUM(Timecard.WrkHrs) AS WrkHrs, WrkEmp.FName AS EmpFName, WrkEmp.LName AS EmpLName, MgrEmp.EmpID AS MgrID, MgrEmp.FName AS MgrFName, MgrEmp.LName AS MgrLName INTO #EmpHoursByProject FROM Timecard INNER JOIN Project ON Timecard.ProjNum = Project.ProjNum INNER JOIN Employees MgrEmp ON Project.mbillaty = MgrEmp.EmpID INNER JOIN Employees […]

2003-06-05

Technical Article

RE: Set-based solution possible?

  • Reply

quote: Not one update statement, hope it helps! While Not (@CurrentBin Is Null) And @QtyToPutAway>0 Thanks for your suggestion. But you are using a loop, which is what I was hoping to avoid. I have a loop that works. It looks like this: Create Table ItemBin ( Item varchar(80), BinId varchar(10), PutawayPriority int, QtyMax numeric(19,2), […]

2003-06-05

Technical Article

RE: Set-based solution possible?

  • Reply

If you don't mind having an intermediate help table (temporary or otherwise) you could use something like this - FillList may even prove usefull. /* Create Table ItemBin ( Item varchar(80), BinId varchar(10), PutawayPriority int, QtyMax numeric(19,2), QtyOnHand numeric(19,2) ) Set NoCount On Insert Into ItemBin Values ('A1', 'BIN1', 1, 100, 50) Insert Into ItemBin […]

2003-06-05

Blogs

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers