15,885,278 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by gvprabu (Top 200 by date)
gvprabu
11-Feb-14 11:03am
View
I updated the solution (Added 'AS [text()]')
gvprabu
11-Feb-14 10:06am
View
ok then I think I given '(' is wrong. So pls check the sample Query and change yours as same.
gvprabu
11-Feb-14 6:07am
View
how many columns you have in this table like BJP,AAP and ext...? or only two or three colums
gvprabu
2-Dec-13 11:15am
View
how sachin(1) his sr.mng.id is sachin (1)? explain clearly
gvprabu
2-Dec-13 11:09am
View
hi.. share the current data... wht you have in ur table?
gvprabu
28-Nov-13 9:23am
View
Nice work...
gvprabu
28-Nov-13 9:16am
View
good collections....
gvprabu
28-Nov-13 9:12am
View
thanks...yes my friend...
gvprabu
28-Nov-13 9:09am
View
good job my friend... :-)
gvprabu
7-Nov-13 5:32am
View
hi... give some sample data... both employee and manager details are available in same table right... and what details you need to list?
gvprabu
30-Oct-13 10:34am
View
Hi.... are you checked the given Input values.? Here only 2 problems one is given Input second is "Settings" table didn't have value.
gvprabu
25-Oct-13 11:43am
View
thanks.... a lot.
gvprabu
25-Oct-13 11:23am
View
I am having one doubt.... If we pass "20-10-2013" then also we will get error right
DECLARE @Test DATETIME
SET @Test ='20-10-2013'
SELECT @Test
Error
Msg 242, Level 16, State 3, Line 2
The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.
gvprabu
7-Oct-13 11:51am
View
nice example
gvprabu
7-Oct-13 7:28am
View
good work....
gvprabu
3-Oct-13 9:03am
View
check it in code project also...
http://www.codeproject.com/Articles/342248/Locks-and-Duration-of-Transactions-in-MS-SQL-Serve
gvprabu
3-Oct-13 8:37am
View
Then better use Table lock for system parameter table and update with next value
gvprabu
30-Sep-13 8:40am
View
thanks... friend
gvprabu
30-Sep-13 8:00am
View
hi....
Nice work... But the problem is If they have 20-30 Colors then we need to change your function... So Better we will try UDF only for Split the values.
gvprabu
26-Sep-13 6:11am
View
nice work....
gvprabu
26-Sep-13 6:10am
View
check his requirement...
gvprabu
26-Sep-13 6:10am
View
Are you checked your answer?
gvprabu
26-Sep-13 6:09am
View
Are you checked your answer?
gvprabu
25-Sep-13 3:37am
View
thank you...
gvprabu
24-Sep-13 8:53am
View
yes... from back end part we can use UDT in SP right.... In front end he need to make code....
gvprabu
24-Sep-13 8:51am
View
Give Some sample data from your table .... then its help full for give your the exact solutions.
gvprabu
24-Sep-13 8:49am
View
Hi.... exactly what is your Input ? what u need to compare in Date Time field?....
gvprabu
24-Sep-13 8:47am
View
Very nice example.... my 5+ :-)
gvprabu
24-Sep-13 8:40am
View
What is your problem in This....?
gvprabu
20-Sep-13 10:01am
View
thanks my frnd....
gvprabu
20-Sep-13 6:24am
View
If ID 1 having 3 rows then what is your required output..?
gvprabu
20-Sep-13 6:22am
View
Are you checked with any sample values?
gvprabu
20-Sep-13 6:20am
View
Give some more Information... Exactly Wht based u need to Sort?
gvprabu
20-Sep-13 6:18am
View
One doubt, In your table contains "10.2.0.0.0" , "10.0.6.0.5"... Data also right. Then how u need to sort using this column?
gvprabu
20-Sep-13 5:24am
View
nice example... my 5+
gvprabu
19-Sep-13 11:50am
View
Don't post any comments as Solution....
gvprabu
19-Sep-13 11:43am
View
Nice Solution my friend :-) my 5+
gvprabu
19-Sep-13 11:42am
View
Hi,
Send me the entire error message...any thing you checked in Google :-)
gvprabu
19-Sep-13 11:33am
View
Nice Collection....
gvprabu
19-Sep-13 10:51am
View
Hi... I updated the solution.. now it will work for all combinations
gvprabu
19-Sep-13 10:27am
View
Very nice Solution.... :-) my 5+
gvprabu
19-Sep-13 10:06am
View
Hi... I am checking... Some case my solution is giving different answer :-(
gvprabu
19-Sep-13 8:49am
View
nice explanation.... my 5+ :-)
gvprabu
19-Sep-13 8:31am
View
Check the solution 3.... Its simple
gvprabu
16-Sep-13 11:49am
View
Give some more Information.... what u need to check?
gvprabu
16-Sep-13 9:46am
View
If u need to update any of your solution, Don't post as New Solution. Update in your existing answer.
gvprabu
16-Sep-13 9:45am
View
nice example frnd... my 5+
gvprabu
12-Sep-13 9:05am
View
hi,
Give some sample data... then Its help full to us for give you the right solution :-)
gvprabu
12-Sep-13 7:00am
View
Nice Code.... my 5+
gvprabu
12-Sep-13 3:55am
View
thanks my frnd.... :-)
gvprabu
27-Aug-13 8:13am
View
nice collections :-)
gvprabu
27-Aug-13 8:06am
View
Wht is Lot No and Sl.No column values? any logic already u tried for this..?
gvprabu
27-Aug-13 8:03am
View
If possible change the DB design.... :-)
gvprabu
22-Aug-13 11:47am
View
My 5+ :-)
gvprabu
16-Aug-13 10:13am
View
See If you have 002.090.064 then 02.090.064 or 2.090.064...? and tel me one thing u need to check only first dot (.) before value or all values.
gvprabu
16-Aug-13 10:09am
View
nice work
gvprabu
16-Aug-13 4:33am
View
Nice Code my frnd....:-)
gvprabu
8-Aug-13 11:09am
View
Nice Example my 5+ :-)
gvprabu
5-Aug-13 7:47am
View
we have to use some built-in functions for this not CASE Statements
gvprabu
5-Aug-13 7:47am
View
how u r telling this solution is not working after 9..?
gvprabu
5-Aug-13 7:44am
View
its is working...
gvprabu
31-Jul-13 8:48am
View
Deleted
See if any one will search in Code project for this.. they will get answer right. If any rule is there for Giving answer for old Questions?
gvprabu
31-Jul-13 8:47am
View
yes... I didn't check the date... its in 2nd page... today I got one good link... so posted
gvprabu
31-Jul-13 8:21am
View
hi....
U need to display like this right...
Don't change any thing in table creation or Insert time.While fetch the data from Database.. u need to use like this Query.
gvprabu
26-Jul-13 12:02pm
View
yes man correct... :-(
gvprabu
26-Jul-13 6:15am
View
hi frnd...
simply add ISNULL function ISNULL(column_Name,'L')....
U are great.
:-) :-) :-)
gvprabu
25-Jul-13 7:47am
View
yes correct, If one more name is there after "jef" then hsi money is 20 then we need to show as 20+10 as 30 like this it will continue or "jef" last record is 80 so next person's money value will start with 80+10 as 90...?
gvprabu
25-Jul-13 5:59am
View
Great my frnd... :-) my 5+
gvprabu
24-Jul-13 11:54am
View
I am doing good.. :-)
gvprabu
24-Jul-13 10:54am
View
hi frnd,
hru?....
gvprabu
24-Jul-13 10:19am
View
hi U need in String format or all days values in different Column
gvprabu
9-Jul-13 9:31am
View
then tel me one thing... what is the format for "04-01" is "MM-DD" or "DD-MM" and how u will use IsCurrentYear Column here?. If any data is wrong like FDate is grater than ToDate then ?
gvprabu
9-Jul-13 9:30am
View
yes abs correct... If we keep the date details in CHAR type, then we will face many problem while convert to Datetime. So change your table structure....
gvprabu
9-Jul-13 9:27am
View
hi man... I didn't take it as wrong... thanks you so much...
gvprabu
9-Jul-13 9:25am
View
give the sample data... what is the data structure of ur table?
gvprabu
9-Jul-13 9:21am
View
ya correct, Like this changes we can do in front end. If I knows 100% I am not going to do any calculations then I can use this conversion right.
gvprabu
9-Jul-13 9:19am
View
Its not like that... you know both the side front end and back end... I am working in back end only. like this some changes we ll do in front end then we faced some problem in my previous comp... thats y we will do some of the operations in back end.
gvprabu
9-Jul-13 8:59am
View
the problem is later they need "Sports - 40" like format then u have to change the front end screen and re build the application right. So if we do all these changes back end then only SP we have to release thats all.
gvprabu
9-Jul-13 8:52am
View
mmmm...Ok fine... we can do this in DB it self. :-)
gvprabu
9-Jul-13 8:48am
View
see if he asked like if a category is "Sports" then Count or Sum is "40"... his required output is Sports(40) right...
gvprabu
9-Jul-13 8:47am
View
How "select count(sportID)as SportCount from sportTable" this Query will work without GROUP BY?
gvprabu
9-Jul-13 8:41am
View
Check the solution 2...
gvprabu
9-Jul-13 8:31am
View
Is this Solution is help full to you?
gvprabu
9-Jul-13 5:36am
View
hi... please let me know the bad thing in this, then its help full for me.
gvprabu
8-Jul-13 9:50am
View
thank u yar....
gvprabu
8-Jul-13 9:33am
View
welcome
gvprabu
8-Jul-13 9:24am
View
Hi You need to show past 5 years in drop down right
gvprabu
5-Jul-13 6:07am
View
Give some samples.... for his issue is some thing different... he is comparing address=bangalore like that, It should be address='bangalore' right.
gvprabu
5-Jul-13 4:13am
View
Deleted
Are u checked your script... Error is there
Msg 2715, Level 16, State 7, Line 1
Column, parameter, or variable #3: Cannot find data type date.
gvprabu
4-Jul-13 8:12am
View
ha ha ha :-)....
gvprabu
4-Jul-13 6:57am
View
hi check the solution... there is no error in this
gvprabu
4-Jul-13 6:56am
View
your solution is abs correct.... :-) my 5+
gvprabu
4-Jul-13 6:53am
View
I updated my solution, check it now.
gvprabu
4-Jul-13 6:53am
View
I updated my solution, check it now.
gvprabu
4-Jul-13 6:48am
View
yes yar... I will do this and post soon :-)
gvprabu
4-Jul-13 4:48am
View
yes correct... I will change the code. Thanks
gvprabu
2-Jul-13 10:06am
View
Last Modification Desc means, give some sample. Its datetime or number value.?
gvprabu
2-Jul-13 6:20am
View
give some sample data...
gvprabu
1-Jul-13 9:26am
View
Simple but effective....
gvprabu
1-Jul-13 9:22am
View
Hi... Here what is your Question?
gvprabu
28-Jun-13 5:29am
View
great work yar... my 5+
gvprabu
28-Jun-13 5:27am
View
I think some scenario... we need all this condition... so check all possible combinations
gvprabu
28-Jun-13 5:25am
View
Thanks.... friend
gvprabu
27-Jun-13 9:06am
View
Hi friend,
HRU? yes your Query is correct.... but he needs TableA and TableB Count in same ROW. You checked with any sample data
gvprabu
27-Jun-13 8:27am
View
In front end or back end...?
gvprabu
27-Jun-13 7:30am
View
Hi You have to use @@Identity or SCOPE_IDENTITY() functions and assign the output variable
gvprabu
27-Jun-13 7:24am
View
Deleted
you can use @@IDENTITY or SCOPE_IDENTITY() Functions for fetch the IDENTITY values through SP.
gvprabu
25-Jun-13 7:52am
View
If u need one more record set as table count... then I updated the Query... U have to add one more Query like this.
gvprabu
25-Jun-13 7:20am
View
Thank u...
gvprabu
25-Jun-13 6:52am
View
Always... welcome... enjoy :-)
gvprabu
21-Jun-13 9:49am
View
Deleted
Hi.... give your table Structure and some sample data
gvprabu
21-Jun-13 7:30am
View
in your table u have any ID column.... or base on time only we have to list all the ordered Items.
gvprabu
21-Jun-13 3:46am
View
always welcome :-)
gvprabu
19-Jun-13 11:40am
View
I updated my solution, as per ur request...
gvprabu
19-Jun-13 11:34am
View
I posted the solution... check and confirm
gvprabu
19-Jun-13 11:26am
View
Give the formula.... U need to multiply by qty * price and what is activity and time?
gvprabu
19-Jun-13 5:42am
View
your Question is not clear.... give some sample Example or Data. What u need to check?
gvprabu
17-Jun-13 11:03am
View
I updated, Check now
gvprabu
14-Jun-13 6:41am
View
I gave the solution... But I am not sure, It will be the best for all cases... See if Street is not there then "| Street: | " like this data will Update. So check with your actual Data
gvprabu
14-Jun-13 6:12am
View
See if some records didn't have Street or some other values then values will be like "563/90, Chitragupta Nagar | | Lucknow | Uttar Pradesh | India | 226005" Right...U need to add the Details like Address, Street , City ect... right
gvprabu
13-Jun-13 10:11am
View
T2_id---T1_id---Quantity
1--------1--------2
2--------1--------1
0--------1--------3 //Table1.Quantity(Sum(Table2.Quantity)where Table2.T1_id=Table1.T1_id)
3--------2--------1
0--------2--------1 //Table1.Quantity(Sum(Table2.Quantity)where Table2.T1_id=Table1.T1_id)
Right.... Then what is Table1 Quantity?
gvprabu
12-Jun-13 8:10am
View
Hi Check,
SELECT DATEDIFF(Day,CAST(T1.Year as VARCHAR(4))+ '-' + CAST(T1.Month As VARCHAR(2))+ '-' + CAST(T1.Day As VARCHAR(2)),GETDATE())
FROM your_table
and send the result for 2,3 rd rows
gvprabu
12-Jun-13 7:01am
View
Check now...
gvprabu
12-Jun-13 6:59am
View
I updated, Check now. No SQL server in my office machine. So I can't able to check any Query :-(
gvprabu
12-Jun-13 6:57am
View
oh ic, Then that condition is wrong in case Statement
gvprabu
12-Jun-13 6:46am
View
See T1 is alias so U have to change all places Properly
gvprabu
12-Jun-13 6:43am
View
I updated, Check now. One ',' missed near by Address
gvprabu
12-Jun-13 6:41am
View
ok, Comment the "Category" and check. Because there is NO 'B' in this Query :-)
gvprabu
12-Jun-13 6:37am
View
Send your full error message
gvprabu
12-Jun-13 5:41am
View
Your Question is still not clear, explain more about your Problem. For column 2 Distinct values is 1 right (Y). then how u will expect 2?
gvprabu
12-Jun-13 5:24am
View
Why are you asking same Questions more than once?
gvprabu
12-Jun-13 5:23am
View
give some more Information about your Question.
gvprabu
12-Jun-13 5:22am
View
U need to insert in same table or each insert statements are different table's Insert Process.
gvprabu
12-Jun-13 5:20am
View
If u need to change any thing in your question, Don't go for new Question. Update your old Question.
gvprabu
12-Jun-13 5:19am
View
Check the solution...
http://www.codeproject.com/Questions/605560/sqlplusqueryplusforplusretrievingplusmatchedplusan
gvprabu
12-Jun-13 4:30am
View
Yes I means ,
CAST(ID AS VARCHAR(10))
gvprabu
12-Jun-13 4:29am
View
Its ok, always welcome. If your Question is more clear. then it will help us to give proper answer.
gvprabu
11-Jun-13 11:40am
View
before insert, U have to create TRIGGER and check the values or CHECK Constraint you have to create for your table then u have to check the values.
gvprabu
11-Jun-13 11:39am
View
See Y Department master table having Age, Name ? simply Don't ask like this question in Code Project and don't waste out time.
gvprabu
11-Jun-13 11:36am
View
I think U need to Check before Insert right
gvprabu
11-Jun-13 11:21am
View
venkateshprabu.g@gmail.com
gvprabu
11-Jun-13 10:01am
View
sorry yar.. I don't have SQL server in my machine. So I can't able to check any query with sample data... If possible send the Table script with data
gvprabu
11-Jun-13 10:00am
View
1) Is not a problem right
2) Make GROUP BY Empid and Day then find the Day wise Total work hours.
3) use CASE Statement and do the 6 hrs calculation
gvprabu
11-Jun-13 7:59am
View
I am not getting u. Sub Query means
date Hours
2013-06-10 6
2013-06-10 2 ...
Like this right
gvprabu
11-Jun-13 7:30am
View
Hi frieend,
I am not able to understand, because all the scrips in single line.
Pls make some alignment and send to me
gvprabu
11-Jun-13 7:27am
View
U need to check... if that query have any values then do some process else some Process right. For this u can use EXISTS as like below.
Declare @Days datetime
Begin
if EXISTS (select Distinct DATEADD(dd, 0, DATEDIFF(dd, 0,SubmittedOn)) as WorkingDate --SubmittedOn
from dbo.tblEmployeeTimeCards
where EmployeeID=71 and ClientID=20
and convert(Datetime,convert(char,AdminApporveOn,20),20) between convert(Datetime,convert(char,'6-7-2013 7:00:00',20),20) AND convert(Datetime,convert(char,'6-21-2013 6:59:00',20),20)
)
BEGIN
-- Your SQL Code
END
END
gvprabu
11-Jun-13 7:15am
View
yes , Subquery it will work for one values while u ll use <,>,<=,>=,
So just try with 'IN' Operator.
Send ur Query ... what u tried.?
gvprabu
11-Jun-13 7:11am
View
I updated the answer, Check now....
gvprabu
11-Jun-13 7:08am
View
then how u know log in is success
gvprabu
11-Jun-13 7:07am
View
if its different query means u ll use that condition in case Statement
gvprabu
11-Jun-13 7:07am
View
so in that same query u need this all out put or this is different query
gvprabu
11-Jun-13 6:51am
View
not yet.... :-)
gvprabu
11-Jun-13 6:51am
View
Update r Question, its not that much clear....
gvprabu
11-Jun-13 6:47am
View
You need to combine the 2 SPs right... first u need to Update the Values , then u have to get the Login details right.
gvprabu
11-Jun-13 6:43am
View
So Qn 2,3...
Date Work Hours Accrual work Hours
2013-06-10 8 7.5
Right
gvprabu
11-Jun-13 6:09am
View
http://www.codeproject.com/Articles/20434/Telephone-Numbers-in-SQL-Server-2005-Part-1-The-Da
Check this and choose correct datatype as per your request...
gvprabu
11-Jun-13 6:02am
View
I updated my solution, check and choose the Datatype
gvprabu
11-Jun-13 5:53am
View
This Function will return '1' then valid Number else its invalid Number
gvprabu
11-Jun-13 5:53am
View
Hi,
SELECT ISNUMERIC('123A4567890'), ISNUMERIC('1234567890')
Check like this....
gvprabu
11-Jun-13 5:50am
View
yes correct, then u will check this in front end or back end while all values are numbers or not.
gvprabu
11-Jun-13 5:46am
View
yes, You can use VARCHAR(10) or CHAR(10) datatype for this, But Don't use like NUMERIC(10,0) or other datatypes
gvprabu
11-Jun-13 5:45am
View
For
1) Admin Approve Details, U have any indicator in same table, then we can use that.
2) I am not clear about your question.
3) I am not clear about your question.(This also same like that right)
gvprabu
11-Jun-13 5:41am
View
Already posted the answer in your Question...Check the link
Problem with autogenerating employee id in sql server
[
^
]
gvprabu
11-Jun-13 5:34am
View
Hi why u need this values to store in table... u can use while show in front screen.
better store only Integer values
gvprabu
7-Jun-13 5:24am
View
Always welcomee
gvprabu
7-Jun-13 4:05am
View
ok fine, No Probs. If possible pls add my mail ID to Gtak
gvprabu
7-Jun-13 4:05am
View
hi... this it too tooo much... I am a small Kid. ok
gvprabu
7-Jun-13 4:03am
View
Your points : 59,600
My Points : 5,906
See almost Same, One small Difference. only one Zero (0) is less
:-) :-) :-)
gvprabu
7-Jun-13 4:01am
View
hi friend.... share your mail ID. Mine is [removed]mail[/removed]
gvprabu
7-Jun-13 3:59am
View
yes, SQL developers will think almost same like ours :-)
gvprabu
7-Jun-13 3:57am
View
welcome...
gvprabu
7-Jun-13 3:51am
View
hi friend... In my machine no SQL server :-(,
So I can't able to test any SQL Query...
gvprabu
7-Jun-13 3:37am
View
Thanks a lot my frnd... nice link... Sure I ll shot to my father. he will be happy (But I have to explain to him)
gvprabu
7-Jun-13 3:26am
View
Nice to meet U :-)
gvprabu
7-Jun-13 3:26am
View
oh ic... thanks...
gvprabu
6-Jun-13 12:02pm
View
My Name : Gopal.Venkatesh Prabu (GVPrabu) Gopal my father's name.
gvprabu
6-Jun-13 11:56am
View
ya correct... nice solution... first I thought we need to use subquery for list all student IDs and then we will make join. But Your Solution is perfectly matched to his requirement....
My 5+ :-)
gvprabu
6-Jun-13 11:47am
View
yes correct, lets see... :-)
gvprabu
6-Jun-13 11:33am
View
nice solution....but the problem is u need to list all subject and we have to list only pending student list.
gvprabu
6-Jun-13 8:53am
View
nice Question... U need to check only one subject or u have to list all subjects who and all having balance in their course Fees. U have any PK in this table
gvprabu
6-Jun-13 8:32am
View
very nice example
gvprabu
6-Jun-13 8:30am
View
Try like this....
SELECT DISTINCT a, COUNT (a) AS count1
FROM data
WHERE date1 BETWEEN GETDATE() AND DATEADD(DAY,-20,GETDATE())
GROUP BY a
ORDER BY a
gvprabu
6-Jun-13 8:28am
View
simple but nice.... my +5 :-)
gvprabu
6-Jun-13 8:27am
View
Hi,
Updated, BETWEEN syntax wrong... check now. I changed the query
gvprabu
6-Jun-13 7:51am
View
yes
its "DATEADD" not "DATEADDD"... I will Update the solution
gvprabu
6-Jun-13 7:14am
View
Hi,
I Updated my solution, check if any syntax error is there correct it, because I don't have SQL Server in my machine :-)
gvprabu
6-Jun-13 7:05am
View
with one more column, for that year and Month
gvprabu
6-Jun-13 7:05am
View
so use same kind of select statement and Use COUNT Function.
gvprabu
6-Jun-13 6:42am
View
give some sample Data and table structure
gvprabu
6-Jun-13 6:42am
View
what is your problem while using Row_Number Function.?
gvprabu
6-Jun-13 6:32am
View
While doing any operation in Datetime column use DATEADD function. its good practice
gvprabu
6-Jun-13 6:25am
View
give Some More Information about our Request....
gvprabu
5-Jun-13 6:06am
View
Nice Solution, so my +5 :-)
gvprabu
5-Jun-13 6:05am
View
hi friend,
we both are have same solution :-)
gvprabu
5-Jun-13 5:47am
View
give your table structure, U need to do this in single statement or u want to use SP.
If you will keep the newly inserted value (4) in one variable then ite easy.
gvprabu
4-Jun-13 10:00am
View
if you need to make some report, then use db compare tools.
gvprabu
4-Jun-13 9:59am
View
see its very difficult to do....
gvprabu
4-Jun-13 9:46am
View
For example U have 10 records in your table... 1,2,3,..10. if u deleted 7th record and u reset the IDENTITY as 7, then u can insert only one record with ID 7, after that u can't do any insert because already u have a record with ID 8. so u ll get error.
gvprabu
4-Jun-13 9:43am
View
Once u deleted the record, then u can't use the deleted Identity values for new records...
gvprabu
4-Jun-13 9:22am
View
See If we will reset the IDENTITY value then, Duplicate will be enter in table right... so how PK will accept Duplicate values.. Eg : if already table have data with ID as 1,2,3.. 20, then if reset the IDENTITY values as 0, then next time while INSERT it will take as 1 right. then how we will insert Duplicate values in PK.?
Show More