Viewing 15 posts - 46 through 60 (of 243 total)
Thank you, but FYI, I am running SQL Server 2008 R2.
October 21, 2010 at 2:37 am
You are declaring @CityID as INT and then passing it a string, that is your error.
October 4, 2010 at 3:58 pm
Thank you very much, bt. Yes, you are right and right!
I am very green at SQL Server Security best practice, although I understand logins, roles and authentication and so I...
June 29, 2010 at 2:24 pm
Any help will be appreciated, please!
June 29, 2010 at 12:44 pm
As far as possible, I keep all my primary keys as numeric.
Use indexes to maintain order on String columns.
June 29, 2010 at 7:28 am
Thanks to all those who replied.
The app is still under development, and the proposed authentication model is as follows:
1. Roles will be created in SQL Server, each with a set...
June 29, 2010 at 2:17 am
We use Windows Authentication mode. Does that simplify things or not?
June 29, 2010 at 1:37 am
Wrong approach, and it will cause unexpected problems for you later when you least need them.
First, user_id should NOT be an identity column.
Second, SQL Server will NOT allow more than...
June 29, 2010 at 1:31 am
Actually, I realised the default value solution is not for datemodified but datecreated, as the default value will only apply the first time that the record being inserted/updated has...
June 20, 2010 at 2:18 pm
@michael-2: You are right, and so that solves one part of my problem, as I can now set datemodified default value to GETDATE(). Now i only have to...
June 17, 2010 at 9:33 pm
Thanks, Lowell.
June 17, 2010 at 2:15 pm
Thank you, all for your valuable inputs.
@Vladan: my experience in programming against SQLServer databases has been that nullable fields are not populated with default values.
@Wayne: the...
June 17, 2010 at 9:15 am
Thanks, buddy; now any idea how I can ask VB to receive any message?
May 26, 2010 at 3:18 pm
For the life of me, I cannot write this down, since I have not touched T-SQL for over two years, although I have the concept in my head:
Try this:...
May 23, 2010 at 3:13 am
For the life of me, I cannot write this down, since I have not touched T-SQL for over two years, although I have the concept in my head:
Try this:...
May 23, 2010 at 3:10 am
Viewing 15 posts - 46 through 60 (of 243 total)