Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Jeremy Tierman

@Jeremy Tierman
About
Posts
76
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • More Dr Who.
    J Jeremy Tierman

    Sweet! Thanks! I just wonder how long this new guy will last since the last was fantastic.

    The Lounge csharp php wpf com tools

  • MidPointRounding for Math.Round() method in .Net Application
    J Jeremy Tierman

    Please tell which banks these were for so I can bank elsewhere! :cool:

    The Weird and The Wonderful csharp php com help tutorial

  • Where may I find this person, their immediate family, anscestors and future descendants so I may take revenge upon them all?
    J Jeremy Tierman

    Didn't they give you the secret decoder ring? :omg:

    The Weird and The Wonderful question

  • Boys and their toys
    J Jeremy Tierman

    He should have tried it downhill instead of uphill first to get a hang of it ;)

    The Lounge com regex help

  • Speaking of stolen property
    J Jeremy Tierman

    The politicians wouldn't want them to itemize their deductions and keep a log of who they were used for. It might get interesting.

    The Lounge csharp database business tools help

  • Nullabilityatastic
    J Jeremy Tierman

    you forgot the redundant else :)

    The Weird and The Wonderful question learning

  • Europe Drops Browser Lawsuit Against Microsoft
    J Jeremy Tierman

    It is pretty funny how they are after MS for hidding information or private API's, but when Apple does it, they seen nothing or hear nothing. "Kroes also warned that she was still looking at complaints from software rivals that the company wasn't sharing key information that help others make products compatible with Microsoft software." "Private API calls are a definite no-no according to the iPhone Developer Agreement" http://arstechnica.com/apple/news/2009/11/respected-developers-fleeing-from-app-store-platform.ars[^]

    The Lounge com question

  • Simple yet entertaining
    J Jeremy Tierman

    OMG!!

    The Weird and The Wonderful

  • Bing - bottom of the class
    J Jeremy Tierman

    You didn't pay them enough! :cool:

    The Lounge csharp

  • I don't want to know the code behind this...
    J Jeremy Tierman

    Chalk it up to another reason why to never use Visual SourceShredder. :laugh:

    The Weird and The Wonderful beta-testing visual-studio com

  • Well verified code
    J Jeremy Tierman

    My favorite...

    if(5 == 5)
    do something...
    else
    do the same thing...

    The Weird and The Wonderful

  • Top Indian CEO: Most American Grads Are ‘Unemployable’
    J Jeremy Tierman

    I hav projekt due 4 my companie HCL Tek. Pleaz send me codez. :laugh:

    The Lounge c++ html css com tools

  • A piece of ... Art
    J Jeremy Tierman

    First Imaginary Form :laugh:

    The Weird and The Wonderful database

  • Help me iam getting stack overflow exeception , while my solution build successfully , but it threw the stack overflow error
    J Jeremy Tierman

    My guess is someone elses DLL was disassembled.

    C# design help csharp data-structures

  • A piece of ... Art
    J Jeremy Tierman

    Unfortunately, it is a permanent import repository.

    The Weird and The Wonderful database

  • A piece of ... Art
    J Jeremy Tierman

    Some DB geniuses created this and more.

    CREATE TABLE [dbo].[ImportDownload_85_Work](
    [ImportFileID] [int] NOT NULL,
    [RowID] [int] NOT NULL,
    [Data001] [varchar](800) NULL,
    [Data002] [varchar](800) NULL,
    [Data003] [varchar](800) NULL,
    [Data004] [varchar](800) NULL,
    [Data005] [varchar](800) NULL,
    [Data006] [varchar](800) NULL,
    [Data007] [varchar](8000) NULL,
    [Data008] [varchar](8000) NULL,
    [Data009] [varchar](8000) NULL,
    [Data010] [varchar](8000) NULL,
    [Data011] [varchar](8000) NULL,
    ...
    [Data195] [varchar](8000) NULL,
    [Data196] [varchar](8000) NULL,
    [Data197] [varchar](8000) NULL,
    [Data198] [varchar](8000) NULL,
    [Data199] [varchar](8000) NULL
    ) ON [PRIMARY]

    There are over 100 tables like this on one filegroup and one file! X| Oh yea, the identical copies for each suffixed _Last instead of _Work :confused:

    The Weird and The Wonderful database

  • iPhone OS 3.0 update available
    J Jeremy Tierman

    I bet Steve Jobs was the mastermind behind that one! ;)

    The Lounge ios com announcement

  • Debugging SQL
    J Jeremy Tierman

    The key is with unicode data. From LIKE..."When you use Unicode data (nchar or nvarchar data types) with LIKE, trailing blanks are significant; however, for non-Unicode data, trailing blanks are not significant. ..." This was interesting since I haven't done much with Unicode, but in my quest I can't figure out one result. In the following, I turned off ansi padding and inserted into a char and a varchar data with trailing spaces. The space taken for each column is the same since it was truncated on insert. Why does comparing the char (col1) LIKE N'% King' return 0 rows, but comparing the varchar (col1) LIKE N'% King' return 2 rows???

    create table #resultsRec ( padding bit, col varchar(20), opr varchar(5), prm varchar(20), rec int)
    create table #resultsSz ( padding bit, col varchar(20), sz int, dsz int)

    set ansi_padding off
    create table #t (id int identity(1,1), col1 char(30), col2 varchar(30));

    insert #t (col1, col2) values ('Robert King', 'Robert King');
    insert #t (col1, col2) values ('Robert King ', 'Robert King ');

    insert #resultsSz select 1, 'char', len(col1), datalength(col1) from #t
    insert #resultsSz select 1, 'varchar', len(col2), datalength(col2) from #t

    insert #resultsRec select 0, 'char', '=', '''Robert King''', count(*) FROM #t WHERE col1 = 'Robert King' -- returns 2 rows (?) must be trimmed
    insert #resultsRec select 0, 'char', '=', '''Robert King ''', count(*) FROM #t WHERE col1 = 'Robert King ' -- returns 2 rows (?) must be trimmed
    insert #resultsRec select 0, 'char', '=', 'N''Robert King''', count(*) FROM #t WHERE col1 = N'Robert King' -- returns 2 rows (?) must be trimmed
    insert #resultsRec select 0, 'char', '=', 'N''Robert King ''', count(*) FROM #t WHERE col1 = N'Robert King ' -- returns 2 rows (?) must be trimmed
    insert #resultsRec select 0, 'char', 'LIKE', '''% King''', count(*) FROM #t WHERE col1 LIKE '% King' -- returns 2 rows, trailing spaces not signficant with ASCII LIKE
    insert #resultsRec select 0, 'char', 'LIKE', '''% King ''', count(*) FROM #t WHERE col1 LIKE '% King ' -- returns 2 rows, trailing spaces not signficant with ASCII LIKE
    insert #resultsRec select 0, 'char', 'LIKE', 'N''% King''', count(*) FROM #t WHERE col1 LIKE N'% King' -- returns 0 rows (?), trailing spaces signficant with UNICODE LIKE
    insert #resultsRec select 0, 'char', 'LIKE', 'N''% King ''', count(*) FROM #t WHERE col1 LIKE N'% King ' -- returns 0 rows, trailing spaces signficant with UNICODE LIKE

    insert #resultsRec select 0,

    Clever Code database sql-server sysadmin

  • Debugging SQL
    J Jeremy Tierman

    Why don't you explain why? If you change from NVARCHAR to VARCHAR, each recordset is 2. :zzz:

    Clever Code database sql-server sysadmin

  • Just amusing...
    J Jeremy Tierman

    This may be a code signature

    The Weird and The Wonderful
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups