Viewing 15 posts - 7,306 through 7,320 (of 8,731 total)
The queries you posted should be able to use it even for a seek operation.
If you had Select F3, F4, F5 from Table1 Where F2=@F2, then SQL Server could probably...
December 26, 2013 at 1:38 pm
I'm back 🙂
Somehow, I expected a reaction like that from you 😀
I'm attaching a sample file from what I'm loading and the format file I'm using. I had to edit...
December 26, 2013 at 10:22 am
This is slightly different.
SET @TicketStartDate = DATEADD( DAY, -1, DATEADD(WEEK, DATEDIFF(WEEK, 0, GETDATE()) - 1, 0))
SET @TicketEndDate = DATEADD(DAY, 6, @TicketStartDate)
There's a date zero which is usually 1900-01-01. We calculate...
December 26, 2013 at 9:44 am
Thank you Jeff.
I'm using xml format files as described here: http://technet.microsoft.com/en-us/library/ms187833.aspx
But I really shouldn't have posted so late on friday because I'll return to the office after Christmas and I...
December 22, 2013 at 8:33 pm
You can create it on temdb and use it from any other database by using the 3-part name (tempdb.dbo.Tally)
December 20, 2013 at 11:09 am
You need to be sure you're in the correct instance.
To be sure you're inserting on the right table, you could use a 3 part name: [db_name].[schema_name].[table_name]
December 20, 2013 at 10:42 am
That's because you're still using the VALUES clause when you should only use the SELECT.
For more information on INSERT INTO: http://technet.microsoft.com/en-us/library/dd776381(v=sql.105).aspx Check the part Inserting data from other tables
December 20, 2013 at 10:21 am
Hi,
There's no need for a loop. You just need to use a Tally Table. To know what it is and how it replaces a loop, read the following: http://www.sqlservercentral.com/articles/T-SQL/62867/
With your...
December 20, 2013 at 9:46 am
Cross post. All replies on http://www.sqlservercentral.com/Forums/Topic1525065-1291-1.aspx
December 20, 2013 at 9:42 am
Here you can find all the new features categorized and you can dig into the ones you want.
December 20, 2013 at 9:14 am
IT2012 (12/19/2013)
What I need is a seasoned SQL programmer who would like to spend a week in sunny Southwest Florida teaching T-SQL to a beginner. Any takers??? 😀
I'm...
December 19, 2013 at 1:21 pm
I just can't understand how people don't realize they need to keep studying to become better professionals. I feel a great satisfaction every time I learn something new (like yesterday...
December 19, 2013 at 1:13 pm
I apologize on behalf of everyone, this discussion went too far away from the original question. This forum is a place to learn and it's great that you have learned...
December 19, 2013 at 11:17 am
ScottPletcher (12/18/2013)
Huh? Where can't "IS NULL" be used in place of ISNULL()? At any rate, the ANSI-standard COALESCE() could always be used in place of ISNULL().
There's the importance...
December 18, 2013 at 5:58 pm
Viewing 15 posts - 7,306 through 7,320 (of 8,731 total)