Viewing 15 posts - 2,386 through 2,400 (of 2,647 total)
Easy enough! 🙂 Use the wizard to script what you want, or script the entire database and then remove what you don't need. You may want to add in sp_change_users_login...
October 18, 2011 at 5:59 am
SELECT HeaderID, SerialNumber, DateTested, OperatorID, StationID,
CASE
WHEN CONVERT(VARCHAR(8),DateTested,108) >= '07:01:00' AND CONVERT(VARCHAR(8),DateTested,108) < '16:31:00' THEN '1st Shift'
WHEN CONVERT(VARCHAR(8),DateTested,108) >= '01:11:00' AND CONVERT(VARCHAR(8),DateTested,108) < '07:01:00' THEN '3rd Shift'
ELSE '2nd Shift'
END AS Shift
FROM...
October 17, 2011 at 1:08 pm
ChrisM@home (10/17/2011)
ekant_alone (10/17/2011)
The possible values in the table are 'm' or 'f'
In this puzzle i need to swap m with f and...
October 17, 2011 at 12:28 pm
ekant_alone (10/17/2011)
The possible values in the table are 'm' or 'f'
In this puzzle i need to swap m with f and f...
October 17, 2011 at 12:17 pm
SpringTownDBA (10/14/2011)
ALTER DATABASE tempdb MODIFY FILE...followed by restarting sqlserver is the easiest way.
If your tempdb grew too big, you might consider pre-sizing it big and disabling auto-growth.
I do not recommend...
October 17, 2011 at 11:56 am
We use transactional replication with updateable subscriptions. Fundamentally, it is a bi-directional replication.
Thanks,
Jared
October 17, 2011 at 11:20 am
Saga... (10/13/2011)
You can use Database mirroring or Replication....
Mirroring is not bi-directional, it is only 1 way.
Thanks,
Jared
October 17, 2011 at 11:19 am
You say that there will not be many changes... Why not use transactional replication?
Jared
October 17, 2011 at 11:17 am
What you are asking for is called pseudocode. Here is one link, but if you google it you will find many examples and theory.
http://www.unf.edu/~broggio/cop2221/2221pseu.htm
Thanks,
Jared
October 17, 2011 at 11:10 am
How exactly are you accessing and parsing this data? Are you using a query, and if so can you post it please? In the meantime, you could try running a...
October 17, 2011 at 11:03 am
I love this one 🙂
Jared
October 17, 2011 at 10:59 am
I would just delete them from your article and then reinitialize, if you can.
Jared
October 17, 2011 at 10:31 am
jcrawf02 (10/17/2011)
jared-709193 (10/17/2011)
October 17, 2011 at 10:30 am
Lynn Pettis (10/17/2011)
Select COUNT(SerialNumber),
CASE WHEN DATEPART(hour,(DateTested)) between 7 AND 16 THEN '1st SHIFT'
WHEN DATEPART(hour,(DateTested)) between 16 AND 1 THEN '2nd SHIFT'
WHEN DATEPART(hour,(DateTested)) between 1 AND 7 THEN '3rd SHIFT'
END
FROM...
October 17, 2011 at 10:26 am
Keep in mind that this will still not get you what you are looking for, I think. The procedure will still compile and will be created, THEN you will execute...
October 17, 2011 at 10:20 am
Viewing 15 posts - 2,386 through 2,400 (of 2,647 total)