Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8466829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:27:30+00:00 2026-06-10T15:27:30+00:00

under dev storage, i’ve created a number of tables which all have myprefix prefix

  • 0

under dev storage, i’ve created a number of tables which all have “myprefix” prefix in the table name. when i execute the following code, listtables(“myprefix”) never returns an entry:

    [ClassCleanup]
     public static void ClassCleanup()
     {
         var tableClient = _account.CreateCloudTableClient();
         foreach (var table in tableClient.ListTables("myprefix"))
         {
             tableClient.DeleteTableIfExist(table);
         }
     }

it does return all the tables if i use listtables(), not sure why the prefix overload does not work. any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T15:27:32+00:00Added an answer on June 10, 2026 at 3:27 pm

    I believe this is a bug in development storage. I looked at the code for ListTables(prefix) and this is what I found (pasting only a part of ListTablesSegmentedImplCore() method):

    if (prefix != string.Empty)
                {                       
                    // Append Max char to end  '{' is 1 + 'z' in AsciiTable
                    string uppperBound = prefix + '{';
    
                    query = query.Where((table) => table.TableName.CompareTo(prefix) >= 0 && table.TableName.CompareTo(uppperBound) < 0);
                }
    

    So what’s happening is that a query is constructed which is something like:

    http://[your dev storage table endpoint]/devstoreaccount1/Tables()?$filter=(TableName ge ‘a’) and (TableName lt ‘a{‘)

    Now we know that dev storage uses SQL Server behind the scenes for data storage. If I take this query and execute it’s equivalent against that SQL Server database, I did not get any result back:

    SELECT TOP 1000 [AccountName]
      ,[TableName]
      ,[LastModificationTime]
      ,[ServiceMetadata]
      ,[Metadata]
      ,[SchemaXml] FROM [DevelopmentStorageDb201206].[dbo].[TableContainer]   Where [TableName] >= 'a' and [TableName] < 'a{'
    

    I guess, in the interim you would need to do the filtering on your end. Also please be aware that there’s another bug we discovered long time back in development storage and that has to do with continuation token for tables. When you list tables and there’re more than 1000 tables in your storage account, you don’t get back a continuation token when fetching tables in development storage.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a test project Company.Test which is located under C:\Dev\Projects\Tests folder When I
I'm developing an app locally (under Domain name <mydomain>.dev ). In order to work
Under my project, I have a Java class file, inside of which I have
I have a hpib device connected to my system under /dev/hpib. Is it possible
Here is my dev configuration: Under Subversion, - I have my project_X/trunk (with my
My app has been under dev for a few months and am now being
I'm using Qt Creator 2.4.1 under Xubuntu 11.10. I've installed libgdcm2-dev (2.0.17) in repositories.
Under Windows 7 I have a batch file for checking the status of some
Under Windows, I have used a program called Dependency Walker to examine the libraries
I accidentally used HashSet and HashMap defined under the package com.google.gwt.dev.util.collect in the client

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.