Viewing 15 posts - 271 through 285 (of 323 total)
Glad to hear it worked!
in the code the HTCD column doesn't need a datatype because its value is constructed on the fly by SQL Server: the AS RIGHT('0000' + CAST(LogID...
July 4, 2004 at 7:56 pm
true, but that does have security implications. using no owner name uses your current security context.
July 2, 2004 at 3:44 am
Easy!
Put Databasename.. before the table name... eg:
use dbB GO IF Exists (Select count(*) from dbA..TableA Where dbA..TableA.ID = 100) Select * from TableB Else Select * from TableC
or example 2
Select * from dbA..TableA...
July 2, 2004 at 1:53 am
Antares is right. If your database is that small, and does almost nothing for most of the month MSDE should work fine for you.
MSDE is a cut down, free version...
July 1, 2004 at 8:27 pm
A Computed column would work perfectly. You need the two parts of your number (XXXX-YY) to be columns in your table. XXXX comes from your existing ID, YY would need...
July 1, 2004 at 8:22 pm
Glad to hear it worked JD.
IDENTITY columns are best set as INT datatypes, a simple data type and theres plenty of room to grow.
In almost all tables you will need...
July 1, 2004 at 8:08 pm
Ah ha. What else happens on your box / sql server at that time? Are you running backups? Do you have anything else scheduled to run in SQL Server, SQL...
July 1, 2004 at 12:43 am
If you are using a MONEY or SMALLMONEY currency data type in the database, it depends on your Locale / Region settings in the application.
For a ASP / ASP.Net application,...
July 1, 2004 at 12:37 am
Hi JD
The correct way to setup a primary key / ID field is to create a new column with an INT datatype, and turn on IDENTITY for the column. When you...
July 1, 2004 at 12:32 am
Hey. Why are you using Group By? The only time you need to use Group by is when you are using Aggregate Functions like SUM() COUNT() MIN() or MAX().
If your...
July 1, 2004 at 12:26 am
As always, unless you've melted the hard drive down, it's still there.
SQL Server may 'release' the datapage, but until something else is written over the top of it, it's...
July 1, 2004 at 12:04 am
How big are the databases you are planning to put into SQL Server 2000?
How complex are the queries you will be performing in SQL Server?
How quickly do you want SQL...
June 30, 2004 at 11:55 pm
I'm not certain, but from your statement above everyone may be missing the point of this. If you have five users and they all need to see the next available...
June 30, 2004 at 6:51 pm
Windows Performance Monitor will help you out with tracking the stress of the hardware / os / sql server. There's some great articles on this site that cover performance monitoring.
As...
June 30, 2004 at 1:17 am
SQL Enterprise Manager and Query Analyser are both management tools. Not data reading / writing tools (though they do let you).
As rchawdry said, you'll need to use an external...
June 30, 2004 at 1:13 am
Viewing 15 posts - 271 through 285 (of 323 total)