Viewing 15 posts - 37,546 through 37,560 (of 39,720 total)
why use local variables? I do the same thing often, but it's something like:
UPDATE SSnumpin
SET PIN = b.PIN,
FirstTimeFlag = b.FirstTimeFlag,
CallCounter = b.CallCounter,
Lastname = b.LastName,
FirstName_MiddleInitial = b.FirstName_MiddleInitial,
EmpNum = b.EmpNum,
PINChangeFlag = b.PINChangeFlag
...
June 25, 2002 at 2:35 pm
Can you post some DDL to be sure we get this right?
I think you want a single result set, correct?
select sum(a.strCost)
sum( b.strAmount)
from tblItems a
inner join...
June 25, 2002 at 2:33 pm
You can use osql, just PRINT or SELECT your variable whenever you need output.
Steve Jones
June 25, 2002 at 2:30 pm
Dan has good suggestions. Another option is to enhance your app to lock the account after 3 tries. Can be painful, but most password systems (outside of SQL) do this...
June 25, 2002 at 2:28 pm
IF you have a duplicate PK, this will fail, regardless.
You can update the PK of a table as long as it does not conflict.
Can you post all the code?
Steve Jones
June 25, 2002 at 12:55 pm
Double check you restored the right log. Do it in EM and then "view contents"
This is usually what Andy posted, a gap.
Also, do you append or overwrite when you do...
June 25, 2002 at 9:49 am
Where are you backing up to? Local or remote drive?
Also can you manually run a backup in Query Analyzer?
Steve Jones
June 25, 2002 at 9:44 am
I'd post some more information under the DTS forum and we'll try to help. Or under the replication section.
Steve Jones
June 25, 2002 at 9:35 am
Ahhh, then I agree ()
.
I'm usually for SQL Logins, they are easier to deal with and it's easy for NT permissions to get out of hand in...
June 24, 2002 at 2:31 pm
I've done this, but populated a table with the valid business days. Then sum this up. Don't forget that holidays can be business or country specific, so accounting for this...
June 24, 2002 at 2:29 pm
Sorry, I midread. the instances threw me.
Try running SQL Setup and choosing "Rebuild master"
Steve Jones
June 24, 2002 at 2:28 pm
as andy said, create a batch or .CMD file. In it do a "net stop mssqlserver" and a net start mssqlserver (or whatever the service is named).
The NT AT or...
June 24, 2002 at 2:27 pm
Haven't seen any issues either. Can you give us some more info (browser, os, versions, connection, etc.)
You can email if you do not wish to post (sjones@sqlservercentral.com).
If you have issues,...
June 24, 2002 at 2:26 pm
Cheapest I have used?
I use my pushFTP process to move the database backups every 15 minutes from production to the QA server. Once a week I restore the QA server,...
June 24, 2002 at 2:24 pm
I think these must be set when the link is created. Can you edit the link (sorry not that familiar and too busy to dig through it).
Steve Jones
June 24, 2002 at 1:49 pm
Viewing 15 posts - 37,546 through 37,560 (of 39,720 total)