Viewing 15 posts - 3,586 through 3,600 (of 15,381 total)
pietlinden (11/19/2014)
Itzik Ben-Gan's book on Window functions is good.
+1
November 19, 2014 at 8:57 am
Great question on a great topic that many people don't know about.
It makes sense if you think about it. How would the 208 database know that the parameter is...
November 19, 2014 at 8:29 am
vee_jess (11/19/2014)
with MyData as
(
select Stack
, RefID
, Name
, ROW_NUMBER() over (Partition by RefID order by...
November 19, 2014 at 8:21 am
I would recommend taking a long look at your structure. Everything is varchar(max). Do you really need that many characters in every column? There is no primary and since every...
November 18, 2014 at 2:42 pm
Why are you using a cursor for this? And why do you have a variable named @XML that is not XML?
November 18, 2014 at 2:39 pm
What a great job posting consumable data!!! I turned this into a temp table to make this a little more clear (and use it myself). Here is how you can...
November 18, 2014 at 2:32 pm
g.britton (11/18/2014)
Sean Lange (11/18/2014)
November 18, 2014 at 2:23 pm
For what it is worth, you should consider using a numeric datatype instead of float. It appears this is dealing with money and float is not an exact numeric datatype.
November 18, 2014 at 7:40 am
And be warned...when building views that call views you are highly likely to get suboptimal execution plans. In short, performance is going to start degrading when you nest views.
November 17, 2014 at 7:36 am
arunnrj87 (11/17/2014)
November 17, 2014 at 7:32 am
Ashish Dutt (11/16/2014)
Table1 has four columns, Table2 has 3 columns, Table3 has eight columns and Table4 has 10 columns.
Table3 and Table4 have a same column called...
November 17, 2014 at 7:26 am
If you are explicit with your columns you could deal with this in the insert statement. Then the update statement is not needed.
Something like this.
insert into OrderB
(
City
, [OtherColumnsHere]
)
select
case...
November 14, 2014 at 7:26 am
Took a shot at what I guessed was the most likely answer among them and got lucky.
November 14, 2014 at 7:20 am
Chad.Taylor (11/13/2014)
or look at the two areas I at least, tried to highlight...:w00t:
Yes the query I posted will not work because the multi valued parameter is NOT a table. It...
November 13, 2014 at 2:34 pm
I would recommend you use aliases in your queries. I had not until now really looked at your query. It is difficult to decipher when every column is referenced by...
November 13, 2014 at 1:55 pm
Viewing 15 posts - 3,586 through 3,600 (of 15,381 total)