Viewing 15 posts - 3,181 through 3,195 (of 3,606 total)
If a field in your recordset object contains data then use ASP to write out the html <input..> tag with a READONLY attribute and VALUE attribute as picked up from...
June 2, 2004 at 4:24 am
So basically
if(rs!FirstName){
write("<input type=text name=txtFirstName READONLY value=\"" & rs!FirstName & "\">");
else
write("<input type=text name=txtFirstName>");
June 2, 2004 at 2:49 am
I had something similar and had to define a table as follows:-
DECLARE @tbl TABLE (SerialNumber VARCHAR(20) COLLATE SQL_Latin1_General_CP1_CI_AS PRIMARY KEY CLUSTERED)
I also had a problem when the "default language" on...
June 2, 2004 at 2:39 am
Are your databases on different servers? If they are then check the collations and character sets.
If they are on the same server then why not use a straight select?
If database...
June 2, 2004 at 1:51 am
I would do processing like this in one asp page.
The submit button has a value, or if you are using <input="image"....> a hidden field has a suitable value.
The page always...
June 2, 2004 at 1:46 am
There are two ways that I would approach this, and both of them involve scripting.
1. Use the generate script option on your objects.
SQL Server will generate the usual MS verbosity...
May 28, 2004 at 1:20 am
The trick is to sort the wheat from the chaff!
I've lost count of the number of technologies/technology companies that were going to be the next big thing, but after a flurry...
May 26, 2004 at 9:23 am
It is not really clear from your code what you are trying to do.
The settings of your SQL Server will affect how NULL values are interpretted so be careful, otherwise...
May 26, 2004 at 2:09 am
IF isnumeric(@s)= 1 AND PATINDEX('%[A-Z]%',@s)=0
PRINT 'All Number'
ELSE
PRINT 'NOT All Number'
This is a weird one. At first I thought it was interpretting your value as a hexadecimal number but SET...
May 26, 2004 at 2:02 am
Sorry, I forgot to add. Splitting the table into more than one by columns is vertical partitioning.
If your users tend to search for last months transactions then I would consider...
May 21, 2004 at 2:06 pm
I had this problem where I had to get transactions from 15 countries on a monthly basis.
My solution, pre-analysis services was to create specific summary tables that pre-aggregated the data.
For...
May 21, 2004 at 2:02 pm
Personally I couldn't give a damn about the "don't use capitals" issue.
For the pedants out there I do understand about case sensitivity.
What I care about is whether or not there...
May 21, 2004 at 8:34 am
It could have been nasty and obviously the exec wanted him skinned alive.
Fortunately IT manager took the view that he should be the one to discipline his own staff so...
May 21, 2004 at 6:58 am
SOUNDEX on SQL Server is too limiting.
You need an equivalent that takes into account more letters so that you can tune your dedupe process.
You also need to be able to...
May 21, 2004 at 1:44 am
In other words learn to be a development DBA.
One thing I have learnt in my career is that "in the land of the blind the one eyed man is king". ...
May 21, 2004 at 1:32 am
Viewing 15 posts - 3,181 through 3,195 (of 3,606 total)