For many-columned fixed length files I created and loaded this table:
CREATE TABLE [dbo].[Fixed_Length_Text_Files](
[Line] [text] NULL,
[Text_File_Id] [bigint] NULL,
[ID] [int] IDENTITY(1,1) NOT NULL,
CONSTRAINT [Fixed_Length_Text_Files_ID] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
Any way to get a row count on this table for a specific text_file_id?
Because of the text column, the result is always 0.
Thanks,
Jnana