Viewing 15 posts - 1,111 through 1,125 (of 2,894 total)
PiMané (10/2/2012)
If I have a stored procedure that only checks if a customer exists (simple case) it's better to use an OUTPUT parameter or return a data row?
When returning single...
October 2, 2012 at 10:09 am
Wait for JC to state that "We don't use IDENTITY, Cobol-like monster from 50's" :hehe:
The only place where I would agree on legitimate use of GUID's for PK, would be...
October 2, 2012 at 10:01 am
...
I really appreciate your help. My reasoning was that do I have to repeat all the "Select Union" statements for all the rows that i have?
I could be missing something!...
October 2, 2012 at 9:54 am
CELKO (10/2/2012)
...
Why would anyone create a local variable (like we did in 1950's assembly languages) to hold the results of an expression. We just use the expression itself in declarative...
October 2, 2012 at 9:50 am
[
...
Is this statement true? If so is it better to use Guid or BIGINT?
It depends, but usually BIGINT is better.
Another question, related to keys... If a table uses Id as...
October 2, 2012 at 9:17 am
oscarooko (10/2/2012)
Eugene Elutin (10/2/2012)
declare @Table1 table (EmailAddress varchar(20), Msg varchar(20))
insert @Table1
...
October 2, 2012 at 8:18 am
Question to OP: Can the name change? - If yes, you cannot partition by name.
Numbers for MartialStatus and EmploymentStatus can change from higher to lower, therefore you cannot really use...
October 2, 2012 at 6:06 am
You will not get different query execution plan per user if you don't specify schema.
Unless your system is designed in a such way (it's very rare case actually) that one...
October 2, 2012 at 4:59 am
Use XML FOR PATH method (it most likely will give you the best performance for T-SQL implementation):
declare @Table1 table (EmailAddress varchar(20), Msg varchar(20))
insert @Table1
...
October 2, 2012 at 3:59 am
Jeff Moden (10/1/2012)
Eugene Elutin (10/1/2012)
A couple of us just went through all of this on another thread a couple of months ago and the LIKE expressions blew the doors off...
October 2, 2012 at 3:48 am
So looks like that dbname.dbo.Y_name is not accessible from connection you are trying to execute your procedures. Check the name spelling as well.
October 2, 2012 at 3:17 am
...
I would like to display all data from deal_2 (table 1) and price_2 (table_2) in date order. I assumed the left join clause would be easy to implement with...
October 1, 2012 at 10:36 am
...
OUTPUT:
[ deals-2 table + price_2 table] --> filed names
d.name, d.cusip, d.isin, p.orig_price, p.price, p.cmbs_spread, p.cmbs_price, p.size, p.price_type, d.deal_type, p.dateThank you so much for your help and time.
The question...
October 1, 2012 at 8:55 am
From what you posted I can tell you that you don't need to check for NULLs in columns you INNER JOIN on. So the following query will produce exactly...
October 1, 2012 at 7:50 am
GilaMonster (10/1/2012)
I wouldn't use that function. The loops will make it very slow.Try this one: http://www.sqlservercentral.com/articles/Tally+Table/72993/
I hate loops as well, but it will be ok if used for splitting a...
October 1, 2012 at 7:40 am
Viewing 15 posts - 1,111 through 1,125 (of 2,894 total)