9,866,691 members (31,315 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
14,811 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 593
Page Size:
10
·
25
·
50
Tag filtered by: SQL-Server
[x]
How to divide the single column of a database table in two different columns? with same ID
by
db7uk
Answer
13 May 2013
license:
CPOL
You need to either understand PIVOT / UNPIVOThttp://msdn.microsoft.com/en-us/library/ms177410(v=sql.105).aspx[^]orCreate two select statements and use them as derived tables. Then you can join on ID and get your output.i.e.Select a.Id, a.Time InTime, b.Time...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
SQL-Server
cannot able to open msaccess in sqlserver
by
baskaran chellasamy
Question
13 May 2013
license:
CPOL
Hi friends when convert ms access database into sql server database using sqlserver importdata the following error is occured. The Workgroup information file is missing or opened exclusively by another user.but i did not open MsAccess file any where in the system while...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Rate my Box Art
by
C. Dunn
Article
13 May 2013
license:
CPOL
View and rate box art for your favorite Xbox games!
Cloud Computing
»
Azure
»
Windows Azure Developer Contest
C#
SQL-Server
Mobile
Dev
Intermediate
Azure
Cloud
Windows-Phone-8
How to divide the single column of a database table in two different columns? with same ID
by
Member 10049068
Question
13 May 2013
license:
CPOL
I have one column named as Time with another column named as ID.I want to divide the column Time in two different columns as InTime & OutTime.But the important thing is that if the count of that ID present in a ID column is even, the corresponding value present at that ID of column Time...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
SQL-Server
String Data Types and Functions - SQL Server (2000, 2005, 2008, 2008 R2, 2012)
by
Shemeer NS
Article
13 May 2013
license:
CPOL
SQL Server 2000, 2005, 2008, 2008 R2, 2012 Character String Data Types and Functions with Sample SQL Statements. Quick reference, Data Type Tables, Function Tables
Database
»
Database
»
Sql Server
SQL2000
SQL2005
SQL
SQL-Server
DBA
Dev
Beginner
Intermediate
SQL-Server
SQL2008
, +
LiteDispatch - Logistic solution on the cloud
by
Enrique Albert
Article
13 May 2013
license:
CPOL
Example of Application with GitHub, SQL-CE, EF and SQL-Azure integration with Azure WebSites
Cloud Computing
»
Azure
»
Windows Azure Developer Contest
SQL-CE
C#
SQL-Server
SQL-Server
Azure
Git
NHibernate
AzureWebSites
When i execute the query output is not getting correctly in sql server
by
gvprabu
Answer
13 May 2013
license:
CPOL
Hi,Try this...SELECT distinct r.rate as Rate,f.bthid as Batchid,CASE WHEN r.rate = '1' THEN '100' WHEN r.rate = '2' THEN '75' WHEN r.rate = '3' THEN '50' WHEN r.rate = '4' THEN '25' ELSE '0' END AS Translated_Rate FROM bthfac fINNER JOIN faculty fa ON...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
When i execute the query output is not getting correctly in sql server
by
Member 8054539
Question
13 May 2013
license:
CPOL
Faculty table records as follows:- Facid Faculty 1 MADHAVAN 2 Sekar 3 John 4 vinoth 5 Ramesh Batch table records as follows Bthid Examdate 1 14/9/2011 2 24/10/2011 3 9/12/2011 4...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Sql 2008 :Converting datetime into hours and minutes
by
gvprabu
Answer
13 May 2013
license:
CPOL
Hi,Check the following CodeSELECT GETDATE()GO-- SQL Server 2000/2005SELECT CONVERT(VARCHAR(8),GETDATE(),108) AS HourMinuteSecond,CONVERT(VARCHAR(10),GETDATE(),101) AS DateOnly;GO-- SQL Server 2008 OnwardsSELECT CONVERT(TIME,GETDATE()) AS HourMinuteSeconds;SELECT...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
SQL-Server
DateTime
Sql 2008 :Converting datetime into hours and minutes
by
Sandeep Mewara
Answer
13 May 2013
license:
CPOL
Here, SQL SERVER – Get Time in Hour:Minute Format from a Datetime – Get Date Part Only from Datetime[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
SQL-Server
DateTime
Sql 2008 :Converting datetime into hours and minutes
by
Puseletso Michelle
Question
13 May 2013
license:
CPOL
I have a column which has date-time,i want to convert that into hours and minutes/minutes only,any sql statement that can help me?(NB still a learner)
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
SQL-Server
DateTime
changing format of seconds into dd:mm:ss
by
deepakdynamite
Answer
13 May 2013
license:
CPOL
select CAST(DATEDIFF(dd,'2013-04-16 05:00:00' , '2013-04-19 20:00:10') as varchar) +':'+convert(char(5), dateadd(ss, DATEDIFF(ss,'2013-04-16 05:00:00' , '2013-04-16 20:00:10'), cast(0 as DateTime)) , 108)
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
How to make this work?
by
_Amy
Answer
13 May 2013
license:
CPOL
Try this:ALTER PROCEDURE sp_ArchiveTable1( @StartDate datetime, @EndDate datetime, @DateColumn VARCHAR(100), @TableName VARCHAR(100), @NewTableName VARCHAR(100))ASBEGIN DECLARE @NextIDs TABLE(UniqueID int primary key) DECLARE @statement nchar(1000) = N'SELECT * INTO...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
How to make this work?
by
Maciej Los
Answer
12 May 2013
license:
CPOL
Please, see this article: Building Dynamic SQL In a Stored Procedure[^]
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
How to make this work?
by
Mohammed Hameed
Answer
12 May 2013
license:
CPOL
I think you have to use exec(here your query) command for this to get executed.Hope this helps...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
How to make this work?
by
Gokulnath007
Question
12 May 2013
license:
CPOL
Currently I have started creating a procedure, which gets the parameters and should copy the contents of one table to another with certain conditions. I have copied the codes here. It compiles good. But nothing is affected.ALTER PROCEDURE sp_ArchiveTable1(@StartDate datetime,@EndDate...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
cannot able to convert ms access database to sql server database
by
baskaran chellasamy
Question
12 May 2013
license:
CPOL
Hi friends I have tried to convert ms access database to sql database.but i could not able to done it successfully. the below methods are i have been using so for1.from sql server 2008 i created a empty database and try to import data from task but it shows cannot start your...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
unable to display unique data
by
Maciej Los
Answer
12 May 2013
license:
CPOL
Try this:SELECT DISTINCT *FROM Tmp Tmp inner JOIN MARKET_PLACE_DESIGN_RELATION MPDR ON MPDR.MARKET_PLACE_DESIGN=Tmp.MarketDesignhttp://www.w3schools.com/sql/sql_distinct.asp[^]
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
unable to display unique data
by
AmrutaKanvinde
Question
12 May 2013
license:
CPOL
i have a table market_place_design which has different market places and designs.1 design exists in different market places.I have another table temp which has only column design filled in it.Now after joining the tables i am getting multiple data for a single design whereas i need only 1...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Why did increase Estimated subtree cost when using non clustered index in sql server 2008?
by
Code-Hunt
Answer
12 May 2013
license:
CPOL
http://social.msdn.microsoft.c...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Indexes
BEETWEEN clause in sql server
by
- NA -
Question
12 May 2013
license:
CPOL
how to i use BETWEEN in sql server for the column with varchar datatype?please help...i want to select the rows between the row which has column saysomething with value "Hello" and another row which has value "lol" for the same column..
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
What is indexer and their types when to use cluster index and non cluster index in sql server
by
Code-Hunt
Answer
12 May 2013
license:
CPOL
http://beginner-sql-tutorial.c...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
changing format of seconds into dd:mm:ss
by
Code-Hunt
Answer
12 May 2013
license:
CPOL
Declare @Seconds as intDeclare @SubtractDate as datetime--Enter Number of Seconds hereSet @Seconds=9974501Set @SubtractDate=DateAdd(s,@Seconds,getdate()) - Getdate() Select Convert(varchar(10),DateDiff(day,'1900-01-01',@SubtractDate))+ ' Day(s) '...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
changing format of seconds into dd:mm:ss
by
deepakdynamite
Question
12 May 2013
license:
CPOL
Following Query returns me Number difference in format of "HH:MM:SS"select convert(char(8), dateadd(ss, DATEDIFF(ss,'2013-04-16 05:00:00' , '2013-04-16 20:00:10'), cast(0 as DateTime)) , 108)output of above query is " 15:00:10 " which is correct but if i change query as below...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
SET @cmd = N'DELETE FROM ' + @table_name + ' WHERE ' + @nameField +' = ''' + @value +''' ' in above statement what is the use of N
by
Mehdi Gholam
Answer
12 May 2013
license:
CPOL
Read the following : http://databases.aspfaq.com/general/why-do-some-sql-strings-have-an-n-prefix.html[^]
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Page 1 of 593
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web04 | 2.6.130513.1 | Last Updated 13 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid