Viewing 15 posts - 76 through 90 (of 455 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...
Prasad Bhogadi
www.inforaise.com
October 19, 2007 at 10:56 am
My apologies about that. I will make sure this doesnot repeat.
Prasad Bhogadi
www.inforaise.com
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...
Prasad Bhogadi
www.inforaise.com
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...
Prasad Bhogadi
www.inforaise.com
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...
Prasad Bhogadi
www.inforaise.com
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...
Prasad Bhogadi
www.inforaise.com
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...
Prasad Bhogadi
www.inforaise.com
October 19, 2007 at 6:04 am
Abhijit Just make sure you use
EXEC(@sql)
OR EXEC sp_executesql @sql
in the above syntax.
Prasad Bhogadi
www.inforaise.com
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.
Prasad Bhogadi
www.inforaise.com
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...
Prasad Bhogadi
www.inforaise.com
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.
Prasad Bhogadi
www.inforaise.com
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]...
Prasad Bhogadi
www.inforaise.com
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.
Prasad Bhogadi
www.inforaise.com
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...
Prasad Bhogadi
www.inforaise.com
October 15, 2007 at 9:40 am
Thank you David.
Prasad Bhogadi
www.inforaise.com
October 15, 2007 at 6:57 am
Viewing 15 posts - 76 through 90 (of 455 total)