Viewing 15 posts - 10,951 through 10,965 (of 26,487 total)
opc.three (6/29/2012)
BKF (6/29/2012)
I need to obtain the SQL Server 2008 Implementation and Maintenance cert ASAP
Who or what is creating this sense of urgency?
Can anyone give me an idea how best...
June 29, 2012 at 2:39 pm
Just for example, I went back to my two record sample. Please check out how the staging table is created and then the select from it where I split...
June 29, 2012 at 2:31 pm
All columns at this time are varchar columns with the exception of the three datetime columns. Those are just that, datetime columns. You may find it easier to...
June 29, 2012 at 2:20 pm
Not hard to split the date and time parts, but for now we can leave them alone. What I would do now is create a staging table based on...
June 29, 2012 at 2:08 pm
rjbirkett (6/29/2012)
June 29, 2012 at 1:54 pm
Take a close look at the CTE part of this code. You will see that I have written it to select all records for yesterday from dbo.Syslogd.
with SampleData as...
June 29, 2012 at 1:45 pm
rjbirkett (6/29/2012)
Lynn,It came back with 1024 as the max length.
Rob
Good, then the DelimitedSplit8K will work.
June 29, 2012 at 1:39 pm
rjbirkett (6/29/2012)
Coffee not working. Forgot to paste the SQL in:-/
USE [SYSLOG]
GO
/****** Object: Table [dbo].[Syslogd] Script Date: 06/29/2012 14:23:29 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Syslogd](
[MsgDate]...
June 29, 2012 at 1:32 pm
rjbirkett (6/29/2012)
June 29, 2012 at 1:30 pm
rjbirkett (6/29/2012)
Lynn,How am I going to process each record without looping through? For/Next? Next n? you have to iterate somehow, right?
Rob
Take a look at the latest code I...
June 29, 2012 at 1:29 pm
Bill Talada (6/29/2012)
June 29, 2012 at 1:27 pm
rjbirkett (6/29/2012)
June 29, 2012 at 1:19 pm
Another good article to read by the same author is the first one in my signature block. It shows you what to post and how to post it to...
June 29, 2012 at 1:17 pm
rjbirkett (6/29/2012)
June 29, 2012 at 1:14 pm
I duplicated the sample record you provided earlier, changed the values in the date columns slightly, commented to source string so that it isn't returned. How is this so...
June 29, 2012 at 1:10 pm
Viewing 15 posts - 10,951 through 10,965 (of 26,487 total)