Viewing 15 posts - 211 through 225 (of 237 total)
Many thanks people, I'll give all the suggestions a try
January 18, 2006 at 1:52 am
many thanks for the quick responce, I'll give that a try, although I was told to obtain the results I want I should really use JOIN, something I haven't even...
January 16, 2006 at 6:44 am
Many thanks Michelle, I found that very helpfull
January 12, 2006 at 11:22 am
my appologies everyone, I've found my problem.. I was using a variable instead of 'cde' and I hadn't set the length
November 21, 2005 at 9:41 am
I've just discovered how to do it, I've posted what I've found below
set @sDayofWeek = datename(weekday,'10/11/2005') -- returns "Tuesday"
set @sDayofWeek = datename(day,'10/11/2005') -- returns "10"
set @sDayofWeek = datename(month,'10/11/2005') -- returns...
November 15, 2005 at 3:45 am
Oop's sorry, slight mistake, the solution I posted didn't return the value in @status
Below is the working version
declare @status nvarchar
declare @sDate1 varchar(10)
declare @CMD Nvarchar(100)
declare @ColName as...
November 10, 2005 at 8:53 am
many thanks for the reply, I've managed to achieve what I wanted thanks to you by modifying your example, I've posted below the code I'm using
declare @status varchar
declare...
November 10, 2005 at 2:43 am
RGR's, can you explain what you mean by "Not gonna stand having someone blatantly lie to me and expect me to be nice about it."
October 24, 2005 at 10:04 am
what do you mean by prone to sql injection attacks ?
October 24, 2005 at 8:05 am
I've actually got it working. At Last !!!
here's what I used :-
CREATE PROCEDURE spSaveDaysArea @sName as VarChar(200),@sArea as VarChar(100), @sDate1 as VarChar(100)
AS
declare @sql as varchar(5000)
set @sql...
October 24, 2005 at 7:41 am
I'm trying to update a database using VB and passing the name of the field and the data I want to put in that particular field, if that makes sence,...
October 24, 2005 at 7:24 am
I did actually read the link before posting my question on the forum, I couldn't see anything that could help me, I'm just starting out using an SQL server and...
October 24, 2005 at 6:57 am
because I'm using a vairable for the field name
October 24, 2005 at 6:51 am
Function Copy_Table_From_Sql_Server(ByVal NewTable As String, ByVal ExistingTable As String, ByVal LocalDb As Database) As Boolean
On Error GoTo ErrHandler
CopyTable: 'try and copy before deleting the existing table
'just incase it doesn't...
September 21, 2005 at 7:01 am
Viewing 15 posts - 211 through 225 (of 237 total)