Viewing 15 posts - 76 through 90 (of 454 total)
Best (10/19/2007)
Table A
Table B
Both tables have the following four columns
School Code
School name
Grade
Year
i want to insert values from table B into table A
Table B has the following...
October 19, 2007 at 10:56 am
My apologies about that. I will make sure this doesnot repeat.
October 19, 2007 at 10:21 am
Your frontend (Visual Basic) would not really know whethere you have used a temp table or if you are fetching data from the original table. Its all inside your stored...
October 19, 2007 at 8:43 am
What do you mean by your local account. Are you talking of Windows authentication mode? Also make sure the user is member of the users defined on your remote server...
October 19, 2007 at 8:18 am
You can definitely restore a 2000 database backup on SQL Server 2005. While restoring go the options tab and check if you have defined the correct locations for creating mdf...
October 19, 2007 at 6:24 am
Why don't you modify your stored procedure to accept the filter date and run the sp and display the retrieved data on the report. Sorry if I am missing anything...
October 19, 2007 at 6:10 am
Abhijit, Hope you got what John meant, you need to have your dynamic order by column as an item your SELECT statement as you want to retrieve DISTINCT rows grouped...
October 19, 2007 at 6:04 am
Abhijit Just make sure you use
EXEC(@sql)
OR EXEC sp_executesql @sql
in the above syntax.
October 19, 2007 at 5:34 am
I don't think braces would really matter. It should work even without braces. But as a safety you can try it with braces.
October 16, 2007 at 7:54 am
Hello David,
Thank you for the solution. However I completed it using a cursor and Select statement and seems to be performing fine. I know that Cursors kill performance however I...
October 16, 2007 at 7:42 am
Thanks for the reply. I actually did it using a cursor and charindex. However I am wondering if this could be accomplished without using a cursor.
October 16, 2007 at 5:09 am
Are you looking at something like
select c.Id,
c.[name],
c.active,
a.[name] as attribute
from
component as c
join
attribute as a on c.attributeid = a.id
inner join
(select max(c.id) as cid ,c.[name],a.[name]...
October 16, 2007 at 4:59 am
I concur with Lowell, Editplus is very decent tool for code and it has templates integrated which can be customized aswell. Trial out the trail edition of Edit Plus.
October 15, 2007 at 10:35 am
Yes, first check if your user has the execute rights on the stored procedure. Second you just need to give the name of your stored procedure and define your paramters...
October 15, 2007 at 9:40 am
Viewing 15 posts - 76 through 90 (of 454 total)