Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:a thought (Score 1) 11

I do want the string built in Sequence Order.

Here's the weird thing- query #2 has been working for 4 months. Not sure what changed, but the explanation that the rows are being fetched slow makes sense (they're always messing with my server settings!).

Comment Re:Haven't done T-SQL in years (Score 1) 11

I didn't explain the behavior adequately.

SELECT * FROM dbo.GetReferencedModelPointsByJobID(@JobID)

Returns someplace between 2-56 rows, depending on JobID

The second query does NOT error out, but is not returning a comma delimited string of all rows, but instead, in some cases, is returning only ONE row.

Since I'm using this to build a temp table, it doesn't error out until I attempt to fill columns in the temp table that do not exist.

User Journal

Journal Journal: Fun with SQL Server 2012 11

I have a Table Valued Function that returns a simple parameterized view. I want to turn that view into a string.

Can anybody tell me why the first query works and the second one doesn't?

DECLARE @JobID INT
DECLARE @strOut VARCHAR(MAX)

SET @JobID=2861

Comment Re:Cry Me A River (Score 1) 608

I wish I could mod this up.

I recently learned Microsoft MVC, being an old application programmer. Once I grasped the concept, I ended up with three competing database models to the same bloody schema in SQL Server, because some controls use AJAX/Entity Framework, others JSON/SQLDataObject, still others a SQLClient loaded on page load.

I got it to work, but what a rube goldberg machine it is, complete with the maintenance headache that implies.

Comment Re:For a well-written refutation (Score 1) 30

I still like the Augustinian Just War. If followed correctly by all sides, it leads to no war. Yet it still protects your people if an aggressor should violate a border.

These days, we could do it with armies of random, but GPS limited, drones pre-programed for air, sea, and land self-healing minefields.

User Journal

Journal Journal: Trying to remember a conspiracy theory 7

Back in the early 1990s, when CD Roms were first invented, on major use of them was for the conspiracy dial up bulletin board system. With a CD Rom online on your bulletin board, you could "host" a CD full of downloadable text files on everything from government cover-ups to UFOs.

I was into such things at the time, and read many of these files.

Comment Re:Article I Section 8 (Score 1) 5

"But what if I don't sell to foreign nations, to other states, or to Native American tribes?"

Works for me, but the Supreme Court had decreed that if you sell to ANYBODY in dollars, you're engaging in interstate trade.

"I suppose then your idea of communities is that they be what I'll call right now "trade immunity" zones, where as long as it's intra-community, it's sans regulations (besides things like fraud laws)?"

Not necessarily. There's still your LOCAL government to deal with- and they can have all the regulations they can convince their population to follow. But certainly, some libertarian communities, like Colton, Oregon, will keep the regulation down to "Carry a gun with you at all times" and leave it at that.

" And only trade outside the community would be where, in a sense, "foreign policy" considerations would come into play/get factored into trade regulations?"

Exactly. In keeping with the principle of subsidiarity, in which the least competent authority has the authority, and larger governments can't countermand that authority.

Slashdot Top Deals

Remember, UNIX spelled backwards is XINU. -- Mt.

Working...