Viewing 15 posts - 331 through 345 (of 347 total)
I'm sure there is probably a more efficient way to do this, but this would do the trick.
declare @counter int
declare @max-2 int
select @max-2 = max(mesage_reference) from table_name(original table)
select @counter =...
February 8, 2006 at 2:25 pm
When you need to change the view, just change it to alter view. It's just the way things work in 2000
January 27, 2006 at 9:52 am
OK this is a new one - I was using dmo to grab all my table objects, loop though them appending the script for each one to a variable. then...
January 20, 2006 at 2:57 pm
Well, I only have one step, and it does the vbscript. there is only one line after it writes the file (the file does get written, so that line executes...
January 20, 2006 at 10:27 am
I would change your proc to do a few steps -
1. Identifiy the records you would need to insert and possibly put the records to insert into a temp...
December 14, 2005 at 12:42 pm
I think you need to make the procedure you are calling a function so that you can use it in a select list
December 14, 2005 at 12:03 pm
I enjoy playing music - guitar and bass. writing music, listinign to music - it really makes me forget about the rest of the day
December 9, 2005 at 8:48 am
well, the problem is that cold fusion has a hash function that I guess is similar to the checksum function - it will evaluate to the same set of digits...
November 28, 2005 at 2:01 pm
Im guessing you want something like this:
Month Visits payments
Jan 5 8
Feb 8 7
Mar 10 2
Total 23 17
if you are using a query like this:
select [month],sum(visits) as visits,sum(payments) as payments group by...
November 16, 2005 at 2:45 pm
I guess a from clause would help.....
select I3_rowid,sum(case when querytype = 'escalation' then 1 else o end) as escalation,sum(case when querytype = 'rejection' then 1 else 0 end) as rejection,sum(case...
November 15, 2005 at 8:12 am
select I3_rowid,sum(case when querytype = 'escalation' then 1 else o end) as escalation,sum(case when querytype = 'rejection' then 1 else 0 end) as rejection,sum(case when querytype = 'illegible' then 1...
November 15, 2005 at 8:05 am
you would do this:
Execute servername.databasename.ownername.procedurename
then pass parameters like you normally would
September 29, 2005 at 9:13 am
sp_addrolemember [db_denydatawriter],[veeresh]
This statement keeps him from modifying data - add him to the datawriter instead of denydatawriter role
September 20, 2005 at 9:17 am
You can just run this:
restore 'database name' with recovery
you don't even need to give it a backup or log file, it will just bring it online.
September 16, 2005 at 11:15 am
Just go into enterprise manager and right click the database. Go to properties and on the options tab it will tell you what recovery model is set
August 29, 2005 at 11:07 am
Viewing 15 posts - 331 through 345 (of 347 total)