I've been using it all along! I just didn't know the terminologies.
Thanks a lot guys.
btw, visit the Philippines sometimes. I'll bring you to places far from the Abu Sayyaf..: )
randy : )
hello again.
Can anyone help me understand in the simplest way what FOREIGN KEY means, and how it is used in a SQL statement? I've been reading about it a long but I can't comprehend.
Thanks so much.
Randy : )
Hello again.
I'm having difficulty with the LIKE condition.
e.g.
CREATE PROCEDURE sp_NAME
@lastname varchar(10)
AS
SELECT * FROM tbl1 WHERE wholename like %@lastname%
How do I use a variable in a LIKE condition? I'm going to execute the SP in VB6.
Thanks for any suggestion
Randy : )
Hello again.
My fetch statement looks like this.
DECLARE r_cursor CURSOR
FOR SELECT * FROM rtemptable
OPEN r_cursor
FETCH NEXT FROM r_Cursor INTO @subdistcode,@itemcode,
@qtycases,@qtypcs,@amtcases,@amtpcs,@convfac
DECLARE @jj numeric, @jj1 numeric
WHILE @@FETCH_STATUS = 0...
Thanks Terry.
For example I have 2 tables, the first (tbl1) contains the distinct IDNo, Name , the second (tbl2) contains IDNo, Order, Total
tbl1: tbl2:
IDNO Name IDNO Order Total
A0001 MJ A0001 Sauce 3
A0002...
Hello.
I am a VB6/ADO/SQL user. I have an upcoming project and I will be tasked to use VB4/SQL. How do I connect to SQL? Could anyone give me a sample program to connect to SQL?
Any help would be highly appreciated.
Thanks.
Randy
I created a BULK INSERT stored procedure in SQL installed in an NT station and it worked. I copied it in a Windows 98 platform and there was an error regarding "STREAM". No error description.
Please help. Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.