Viewing 15 posts - 2,131 through 2,145 (of 5,685 total)
Welcome RW.
Why not just do this?
INSERT INTO dbo.Units (PhaseID, BuildingID, UnitName, FileNumber, SubAddress, Eligible, EligibleReason, Priority, TownPriority, BidAmount, ConstructionCost, Comments, AccessCode)
VALUES (@phase_id,@bldg_id,'','',@index,'','','','','','','','');
December 8, 2011 at 2:05 pm
AndrewSQLDBA (12/8/2011)
I have been working on it, and going thru the small list by hand to see exactly what rows are not in the correct place. I am coming...
December 8, 2011 at 1:46 pm
Can you run the code I offered and tell me exactly which row(s) are not positioning correctly?
Apologies, but I just don't have time to dig through that at the moment,...
December 8, 2011 at 11:55 am
Brandie Tarvin (12/8/2011)
December 8, 2011 at 11:53 am
oweston (12/7/2011)
December 8, 2011 at 1:02 am
mtassin (12/7/2011)
December 7, 2011 at 7:00 pm
If this database is small and merely complex, I have a recommendation...
Script out all the schema, drop it to a new DB shell, and port your data over. Grab...
December 7, 2011 at 6:57 pm
matthew.peters (12/7/2011)
December 7, 2011 at 6:54 pm
SQL_Surfer (12/7/2011)
Thanks tfifield. The use of FOR XMl mentioned in the article did the trick. Is there any other way by just using the self join?
Yes, but not with a...
December 7, 2011 at 6:50 pm
SQLRNNR (12/7/2011)
try using a cte and a row_number() ranking function.Put your query in the cte with that ranking function, then select from the cte where rownum=1
I would not under most...
December 7, 2011 at 6:45 pm
Andrew,
I took a look through this and your data and what you've described as the business rules and it doesn't make sense offhand. Hopefully you can clarify.
Honestly, your initial...
December 7, 2011 at 6:36 pm
LutzM (12/7/2011)
I'll keep trying to talk those folks into more spindles and much larger local drives (the fact they still didn't answer my memory dump...
December 7, 2011 at 6:11 pm
matthew.peters (12/7/2011)
I have an issue where an application is running a few different select queries with 'like' operators on a large table in the datebase. These queries in turn...
December 7, 2011 at 5:17 pm
Sapen (12/7/2011)
I thought to run the victims (EF Generated SQL SELECT queries) through the DETA and see if it recommends any indexes. As expected DETA suggested that there will...
December 7, 2011 at 5:12 pm
hxkresl (12/7/2011)
December 7, 2011 at 4:57 pm
Viewing 15 posts - 2,131 through 2,145 (of 5,685 total)