Viewing 15 posts - 676 through 690 (of 1,346 total)
-- Heres one way
create table #TableOne (partNo int identity, TotalQty int)
Insert into #TableOne (TotalQty)
select 10 union
Select 500 union
select 333
Create table #TableTwo (SalesNo int identity, PartNo int, StartAvailable int)
Insert into...
January 4, 2006 at 2:49 pm
this is an insert into.
Where the results of your select will be entered to the table on the insert. You did not indicate where the information for the city and...
January 4, 2006 at 2:36 pm
I would handle failover situations differently than keeping data in sync across dev/qa/acceptance.
You should look at failover clustering or log shipping for this.
But as far as getting production data over...
January 3, 2006 at 10:49 am
I guess to me the question would be why?
Is it worth the time and money to create something to keep data in "sync".
Is it static data the application needs? or...
January 3, 2006 at 10:26 am
You can generate csv or xls from Sql Server DTS
Lots of info and tutorials on sqldts.com
January 3, 2006 at 10:20 am
Hey Mark,
Check the owner that the maintenance jobs are running under.
This message usually indicates that the owner of the job is either Invalid, pasword has expired, or user is...
January 3, 2006 at 9:17 am
Have you checked available disk space on the drive that tempdb is stored on?
Seems like there is no space.
tempdb does not need to be backed up.
January 3, 2006 at 8:49 am
Not exactly sure what you mean by Score., But have you looked at functions Soundex, and Difference?
They return a value based off comparison, but not a score per say.
I have not worked with...
December 23, 2005 at 9:06 am
Just grasping at straws, but perhaps you could extend notification services to do something like this?
December 22, 2005 at 10:11 am
What value?
The value of the last record inserted, the first, are you including a where clause?
Similar to Mkeast suggestion
If i wanted the last record inserted.
CREATE PROCEDURE sp_web_getPKIDFromNamedValue
(
@Table varchar(50),
@FieldName...
December 20, 2005 at 4:40 pm
what exactly are you asking?
what do you mean by value?
you want the stored procedure to return to you the name of the column(s) that is the primary key for the...
December 19, 2005 at 12:25 pm
Create a number table with numbers 1 thru whatever
then perform a left join
Select *
From MyTable
right Join numbers on mytable.pk = number
where mytable.pk is null
and number < (select max(mytable.pk)...
December 15, 2005 at 2:46 pm
I would not recommend you do it the way you are trying, You Should not create a looping structure. Plus you should always create your triggers to accept datasets, you...
December 15, 2005 at 9:02 am
look at the datepart function.
datepart(hh,mydate)
will give you an integer of the hour.
December 13, 2005 at 12:21 pm
no, since the column is already variable, increasing the variable size should be instantaneous, if it was a fixed char, and increasing the char length, it would take foreeeevvvvveeeerrrrr. Do...
December 13, 2005 at 11:29 am
Viewing 15 posts - 676 through 690 (of 1,346 total)