Viewing 15 posts - 31 through 45 (of 89 total)
September 27, 2018 at 11:49 am
So is there meaning for the M.A.nodes etc or can you use what ever combo letters you want as long as the format is the same. ie X.X.nodes
September 27, 2018 at 10:30 am
I am importing the session data and am having trouble understanding. Here is the code. -- Start Place
Select
M.A.value('@Type','varchar(10)') As [Type],
M.A.value('@EventID','varchar(10)') As EventID,
September 26, 2018 at 10:48 pm
Can someone recommend the best way to output my query's to a .json(txt) file. There are the ways I have been reading about. My project is a simple database which...
September 22, 2018 at 11:38 am
September 14, 2018 at 3:52 pm
So I am trying to output the query to a .txt(.json) file and am really having a hard time. I have used BCP, xp_cmdshell and various others. They all seem...
September 14, 2018 at 3:21 pm
Instead of joining two tables data with a JOIN statement I just added the firstname, lastname and AG to the scores table. Would that be the best way?
September 14, 2018 at 11:24 am
I changed it to get 3 decimal places, SC.S.value('@avgscore', 'decimal(10,3)' ) As AvgScore,
One thing I noticed is the Event_Total table has extra data in...
September 14, 2018 at 10:28 am
Ok so here is the meat and potatoes. I have 4 tables which are Athletes, Scores, Places and Event_Total. I am using Event Total table as it has all the...
September 13, 2018 at 2:26 pm
September 13, 2018 at 2:16 pm
andycadley - Thursday, September 13, 2018 1:48 PM9.2 isn't an int, use a suitable decimal or float type for an average.
I feel...
September 13, 2018 at 2:13 pm
Ok, I am getting somewhere. I will post the whole solution but I am having trouble in one spot. I am sorting on the Avgscore column and since it is...
September 13, 2018 at 1:06 pm
Select
Replace(
Replace(
(Select * from #Event_Total for json...
September 12, 2018 at 1:33 pm
That worked but now it is in one line and it gets cut off after the max 8192 char count for a column. The JSON output is the last code....
September 12, 2018 at 1:31 pm
I tried this but no change. I am running out of options. UPDATE #Event_Total SET Judge1Score = REPLACE(Judge1Score,CHAR(13),'')
UPDATE #Event_Total SET Judge2Score = REPLACE(Judge2Score,CHAR(13),'')
UPDATE #Event_Total SET...
September 12, 2018 at 11:21 am
Viewing 15 posts - 31 through 45 (of 89 total)