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
K

Kishore P

@Kishore P
About
Posts
9
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Looking for a SQL Server tool
    K Kishore P

    Hi, Already I have developed this type of tool. Send your personal E-Mail, I'll send the application.

    The Lounge database sql-server com sysadmin tools

  • creating table adapter queries using code
    K Kishore P

    there is no such option in "adapter.allfill", check once. :(

    Database database question wpf wcf design

  • What is 'IsMSShipped' ??
    K Kishore P

    'IsMSShipped' means "Object created during installation of SQL Server 2005". Possible output is 1 - True, 0 - False. For more information see the SQL Server 2005 BOL. :)

    Database question database com

  • Please help on SQL Query
    K Kishore P

    try like: select max(OrderNo), max(orderDate) from

    Database database help

  • How to connect to the MS Access database?
    K Kishore P

    what is your front-end ? :confused:

    Database database tutorial question

  • SQL SERVER 2005 /Database/Resize
    K Kishore P

    Using enterprise manager you can change the database file grow size or use ALTER DATABASE command. see SQL Server 2005 BOL.

    Database database sql-server sysadmin

  • Reports based on logged on users credentials
    K Kishore P

    see the URL: http://msdn2.microsoft.com/en-us/library/ms157198.aspx Kishore.P

    Database sql-server sysadmin help

  • substring function
    K Kishore P

    Modified your code, see the below code: declare @exp varchar(100) , @start int , @pos int , @substring varchar(20) set @exp = '12,13,14' --set @pos = 1 set @start = 1 set @pos = charindex(',' , @exp , @start) -- Added here while(@pos <> 0) begin --set @pos = charindex(',' , @exp , @start) if(@pos = 0) begin print substring(@exp , @start , len(@exp)) return end print substring(@exp , @start , @pos -1) set @pos = charindex(',' , @exp , @start) -- Added here set @start = @pos + 1 end go :) Kishore.P

    Database

  • substring function
    K Kishore P

    Can u try the following: -- Code declare @ExpList varchar (1000) , @Delimiter char (1) , @INTValue varchar (20) , @Position int begin create table #Result ( IntValue int ) set @ExpList = '10, 11, 12, 13, 14' set @Delimiter = ',' set @ExpList = ltrim (rtrim (@ExpList)) + @Delimiter set @Position = charindex (@Delimiter, @ExpList, 1) if replace (@ExpList, @Delimiter, '') <> '' begin while @Position > 0 begin set @INTValue = ltrim (rtrim (left (@ExpList, @Position -1))) if @INTValue <> '' begin insert into #Result (IntValue) values (cast (@INTValue as int)) end :) set @ExpList = right (@ExpList, len (@ExpList) - @Position) set @Position = charindex (@Delimiter, @ExpList, 1) end end select * from #Result truncate table #Result drop table #Result end go Sample OUTPUT: -------------- IntValue --------:) 10 11 12 13 14 -- End of Code Kishore.P

    Database
  • Login

  • Don't have an account? Register

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