Viewing 12 posts - 1 through 12 (of 12 total)
NEVER MIND
I figured it out:
(changed Type to L_Type) and...
UPDATE dbo.LOCATION
SET L_Type = CASE
WHEN L_Type IS null
...
April 8, 2011 at 7:39 am
I also have a NULL Column in the same table, and want to change the data to "RESIDENCE"
I tried:
UPDATE dbo.LOCATION
SET [Type] = CASE
...
April 8, 2011 at 7:24 am
I ***BOW ***TO YOU NOW :hehe:
HUGE THANK YOU!!!
-Dane
April 8, 2011 at 5:58 am
I GOT IT
THE TABLE:
CREATE TABLE [dbo].[CFS](
[SequenceId] [int] IDENTITY(1,1) NOT NULL,
[SequenceDate] [date] NOT NULL,
[SequenceNumber] AS ('CFS-'+[dbo].[GetNextSequence]([SequenceDate],[SequenceId])),
[TEXT] [nchar](10) NULL,
CONSTRAINT [PK_CFS] PRIMARY KEY CLUSTERED
(
[SequenceId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE...
April 4, 2011 at 9:11 am
What do you guys think?
USE [msdb]
GO
/****** Object: Job [CYCLE NUMBER] Script Date: 03/28/2011 08:01:05 ******/
BEGIN TRANSACTION
DECLARE @ReturnCode INT
SELECT @ReturnCode = 0
/****** Object: JobCategory [[Uncategorized (Local)]]]...
March 28, 2011 at 9:03 am
Reading now....:smooooth:
GilaMonster (3/28/2011)
While you're there, read up about backups and integrity checks. SQL databases can go corrupt too, and...
March 28, 2011 at 8:25 am
Thanks again guys, you all have given me some additional homework and learning. I have no DBA, I am trying to create a database for use at work to...
March 28, 2011 at 8:18 am
What would I do without the internet?
You guys area great! 😎
So... What the hEcK do I do? LOL :hehe:
Please remember I am very green to SQL, I am...
March 28, 2011 at 8:05 am
Here is what I have so far:
My table currently references the Id column, which is ok,
but I need the number that follows the date to re-cycle every 24hrs back...
March 28, 2011 at 7:33 am
I am a complete n00b, could you explain how to do this?
please!!!!
March 28, 2011 at 4:35 am
You guys rock, thank you all for your valued suggestions, seriously!
i will try the assorted suggestions when i get home, hope my newb brain can figure out this SQL stuff......
March 12, 2011 at 6:00 am
Here is the rundown:
I run a security team, and well I am designing a dispatch log of sorts and a report system, Using Access 2010 as the front and SQL...
March 11, 2011 at 7:26 pm
Viewing 12 posts - 1 through 12 (of 12 total)