Viewing 15 posts - 511 through 525 (of 790 total)
That's strange. What is its current data type? It sounds like it's already varchar, otherwise it wouldn't be trying to convert it from varchar when you query the...
August 5, 2003 at 5:37 pm
SQL2k doesn't support arrays. However, here's a sample of a stored procedure that will accept a comma-delimited string of numeric values and return the maximum.
August 5, 2003 at 4:49 pm
Do you want to clone systems databases (master, msdb, etc) as well as all user databases? Or just one user database?
Cheers,
- Mark
August 5, 2003 at 4:24 pm
A couple of problems I can see immediately:
The code:
IF EXISTS(SELECT CustID FROM TblCustomers
WHERE EmailAddress = @x_Email)
Set @CustID = CustID
BEGIN
...assume the previous SELECT...
August 5, 2003 at 4:19 pm
If you backup to 5 devices you must restore from those same 5 devices. The restore will restore the same number of database files (MDF, NDFs if any, and...
August 5, 2003 at 4:07 pm
Because of active portions of the log, the process I usually follow is:
1) truncate
2) shrink
3) shrink again
4) shrink... please!
5) SHRINK damn you!
6) ok, this is your last chance... SHRINK!!
(mutter under...
August 5, 2003 at 3:56 pm
BOL says to shut the server down and restart after doing the sp_addserver. Maybe this means the box rather than the SQL service? Worth a try.
Cheers,
- Mark
August 5, 2003 at 3:37 pm
Yes they will. STANDBY has the advantage of the database being available for reading, but the disadvantage of preventing any transaction logs or differential backups being applied while anyone...
August 5, 2003 at 2:55 pm
Might be that the INSERT INTO combined with the OPENQUERY creates a distributed transaction. Loopback servers can be used in distributed queries but not distributed transactions.
See "Loopback Linked Servers"...
August 5, 2003 at 6:35 am
By jingoes Frank, I thought you already WERE a DBA.
I can't see you having any problems with a technical interview.
You probably only need to work on answers to the non-technical...
August 5, 2003 at 6:25 am
I recommend avoiding Dumps. They'll just make you a cheat, not a DBA.
Cheers,
- Mark
August 5, 2003 at 6:18 am
I'm not real big on DbaseIV linked servers, but I have used the following syntax to read the EMPLOYEE.DBF file out of the MS Office directory. You may be...
August 5, 2003 at 5:51 am
Are you returning the collection to another SP, to Query Analyzer, or to your front end code?
Do you want a table returned, or a comma-delimited string of user...
August 5, 2003 at 1:39 am
I would assume it's from the END of the full backup, based on:
a) LSNs in the headers of full and differential backups don't overlap.
b) Full backups provide data integrity to...
August 4, 2003 at 10:26 pm
Viewing 15 posts - 511 through 525 (of 790 total)