Viewing 15 posts - 16 through 30 (of 66 total)
GilaMonster (9/28/2013)
September 29, 2013 at 5:45 pm
Lynn Pettis (9/28/2013)
What are the correct data types for the following columns:sexID
statusID
firstname
middlename
lastname
sexID int
statusID int
firstname varchar(20)
middlename varchar(20)
lastname varchar(20)
that is in my table
September 28, 2013 at 1:13 am
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
-- =============================================
-- Author:<Author,,Name>
-- Create date: <Create Date,,>
-- Description:<Description,,>
-- =============================================
ALTER PROCEDURE [dbo].[SearchBiography]
@firstname nvarchar(50),
@middlename nvarchar(50),
@lastname nvarchar(50),
@sexID...
September 28, 2013 at 12:52 am
pietlinden (9/28/2013)
If you understand the repercussions of code that can't be optimized, and SQL injection attacks,...
September 28, 2013 at 12:51 am
Cadavre (9/27/2013)
enriquezreyjoseph (9/27/2013)
Cadavre (9/27/2013)
enriquezreyjoseph (9/27/2013)
Thank you guys..so, i should change varchar now to my whole table and to my front-end...tsk :-(..
You're also vulnerable to SQL injection. Please look over the...
September 27, 2013 at 8:23 pm
Cadavre (9/27/2013)
ALTER PROCEDURE [dbo].[SearchBiography] @firstname NVARCHAR(50), @middlename NVARCHAR(50), @lastname NVARCHAR(50), @sexID NCHAR(1), @statusID NCHAR(1) AS
BEGIN;
SET NOCOUNT ON;
...
September 27, 2013 at 6:31 pm
Sean Pearce (9/27/2013)
enriquezreyjoseph (9/27/2013)
Thank you guys..so, i should change varchar now to my whole table and to my front-end...tsk :-(..
The table can contain varchar columns but the statement must be...
September 27, 2013 at 6:13 pm
EarnestGoesWest (9/27/2013)
Hi,Here it is.
DBCC CHECKTABLE ('[dbo].[CorruptTable]') WITH ALL_ERRORMSGS, TABLERESULTS;
Thanks.
i hope this will help
September 27, 2013 at 4:10 am
EarnestGoesWest (9/27/2013)
I've recently implemented a new DBCC INTEGRITY check process running a combination of CHECKDB (for the smaller databases) and CHECKTABLE for larger - spread over a few days.
During...
September 27, 2013 at 3:56 am
jatighe (9/27/2013)
I am having problems with the "Duplicate key was ignored" warning message. The problem is that the message seems to happen randomly and cannot be reproduced. If i...
September 27, 2013 at 3:53 am
Cadavre (9/27/2013)
enriquezreyjoseph (9/27/2013)
Thank you guys..so, i should change varchar now to my whole table and to my front-end...tsk :-(..
You're also vulnerable to SQL injection. Please look over the code I...
September 27, 2013 at 3:00 am
Thank you guys..
so, i should change varchar now to my whole table and to my front-end...tsk :-(..
September 27, 2013 at 2:47 am
dwain.c (9/27/2013)
enriquezreyjoseph (9/27/2013)
CASE
...
September 27, 2013 at 2:25 am
dwain.c (9/27/2013)
That is my recommendation.I find the resulting code to be a bit easier to understand.
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
-- =============================================
-- Author:<Author,,Name>
-- Create date: <Create Date,,>
-- Description:<Description,,>
-- =============================================
ALTER PROCEDURE [dbo].[SearchBiography]
...
September 27, 2013 at 2:06 am
Viewing 15 posts - 16 through 30 (of 66 total)