Viewing 15 posts - 24,646 through 24,660 (of 26,490 total)
VALEK (6/10/2008)
The question did not ask you to assign it to 0. The reason the word "consistently" is in the question is because the author of the question realized...
June 10, 2008 at 6:37 pm
Here is some code to get you started:
create table dbo.backupratetable (
carrier varchar(50),
country varchar(50),
rate decimal(18,4),
effective_date...
June 10, 2008 at 4:07 pm
That I can't answer, and it looks like to previous thread is still unavailable.
😎
June 10, 2008 at 3:12 pm
Miguel Pereira (6/10/2008)
Mike Levan (6/10/2008)
June 10, 2008 at 1:41 pm
I don't think either will have a difference if multiple queries were running simultaneously. The best thing to do would be to test both options in a test environment...
June 10, 2008 at 1:01 pm
GSquared,
Was that the query you took out a join? If so, I seem to remember he did and that it didn't return the results he was expecting. If...
June 10, 2008 at 12:26 pm
Also, after reviewing your post a second time. We could also use the DDL to recreate your current indexing scheme on the three tables.
😎
June 10, 2008 at 12:14 pm
You are part way there. Yes, you posted the DDL for the tables. Yes, you posted some data. Unfortunately, the data is not posted in a format...
June 10, 2008 at 12:06 pm
Matt,
As to your second question. The "alias by assignment" notation (your first option) is actually deprecated and will no longer be supported in a future version of SQL Server...
June 10, 2008 at 9:24 am
It could also indicate the possibility of successful SQL Injection attacks.
😎
June 10, 2008 at 8:52 am
This was a very good question. I definitely learned something new from this one.
😎
June 10, 2008 at 8:04 am
And please agree -- RDB is an exact science, at least in its principle, I've seen many dodgy code in my life, and also many TSQL pieces relying on hardcoded...
June 9, 2008 at 9:46 pm
The DDL to create the tables, some sample data (in the form of insert statements) to populate the tables, and the expected output from the query based on the provided...
June 9, 2008 at 8:05 pm
Sorry, I can't agree with you.
One, I understood the question and what it was asking and therefore answered it correctly.
Two, I've been in IT long enough to know...
June 9, 2008 at 7:26 pm
I think people are making too much of the question. The real point of it wasn't the data used in the question but the BETWEEN clause itself. The...
June 9, 2008 at 7:01 pm
Viewing 15 posts - 24,646 through 24,660 (of 26,490 total)