Viewing 15 posts - 5,686 through 5,700 (of 7,191 total)
Ah, so this is an interview question!
(1) Create the table and use the SELECT statement to add the data into it.
(2) "name" is the name of the column you supplied...
October 15, 2010 at 8:41 am
I take it your comma key is missing or your Parse button doesn't work?
Anyway, I corrected your code and here are your options:
(1) Create a new table and select filtered...
October 15, 2010 at 7:12 am
Please can we have table DDL and sample data in the form of INSERT statements. Then we'll be able to help you.
Thanks
John
October 15, 2010 at 6:19 am
Chris
Yes, that's how I'd do it.
John
October 13, 2010 at 8:18 am
I assume that either the source or destination of your data flow is a SQL Server table? If it is, then you can create an Execute SQL task to...
October 13, 2010 at 7:46 am
Frank
If the procedure is being called 1000 times but does not use the most appropriate execution plan every time, could this be because you are supplying different parameters each time?...
October 12, 2010 at 2:46 am
Would this work?
COALESCE(MyCol + CHAR(13),'') + COALESCE(MyNextCol + CHAR(13,'') + ....
John
October 8, 2010 at 7:00 am
Have you considered using SSIS? It has built-in file manipulation tasks, so it should be just what you need.
John
October 8, 2010 at 3:44 am
I'm afraid I don't know of any such stored procedure and I've never written a query myself to get this information. I don't think it's possible to take account...
October 8, 2010 at 1:31 am
Does this need to work for absolutely any schedule, or are you going to use it only on certain types of schedule, for example transaction log backups that occur every...
October 7, 2010 at 1:32 am
vijay1327-891581 (10/6/2010)
NOTE: Use this NOLOCK only if its astatic table, else you will be DIRTY reading.
If it's a static table then NOLOCK won't help since there won't be any locks...
October 6, 2010 at 8:31 am
If all your stored procedures are in the same schema, just grant execute on the schema.
John
October 6, 2010 at 8:21 am
Mmmm.... surely by adding the line [font="Courier New"]WHERE r.type = 'L'[/font] at the end?
John
October 6, 2010 at 8:08 am
DECLARE @BookLoans table
(
BookID int,
StudentID int,
LoanDate datetime,
ReturnDate datetime
)
INSERT INTO @BookLoans
...
October 6, 2010 at 7:43 am
Viewing 15 posts - 5,686 through 5,700 (of 7,191 total)