Click here to Skip to main content
15,892,575 members
Everything / Programming Languages / SQL

SQL

SQL

Great Reads

by Alex Pumpet
A simple program for comparing table data from two sources - SQL databases, Excel, CSV or XML-files
by Thomas Weller
Demonstrates how to run Python scripts from C#
by Mubin M. Shaikh
Create time dimension with 24 hour plus values and time buckets in your data warehouse
by Christoph Buenger
Describes PHP application development with the free Scavix Web Development Framework (Scavix-WDF).

Latest Articles

by Mishael Ogo
A look at a simple SQL builder for Dapper
by GabrieleTronchin
In this project, I've implemented the Transactional Outbox Pattern using EF Core.
by GabrieleTronchin
A simple stored procedure to add at your database to keep it reactive
by GabrieleTronchin
Automatic creation of non clustered indexes using system SQL entities

All Articles

Sort by Title

SQL 

22 Jun 2014 by fard85
I Have Develop an Application using sql server It is giving meis being recovered. Waiting until recovery is finished.why this message is coming
22 Jun 2014 by CHill60
Without further information or context all I can suggest is for you to work your way through these search results[^] until you find the solution that fits your exact problem
13 Dec 2021 by Nikola Milovanovic
I have two tables: CREATE TABLE [dbo].[Katalog]( [IDKataloga] [int] NOT NULL, [Godina] [int] NOT NULL, CONSTRAINT [PK_Katalog] PRIMARY KEY CLUSTERED ( [IDKataloga] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY =...
13 Dec 2021 by Wendelius
Looking at the trigger here select @IDKataloga=IDKataloga from inserted If multiple rows are updated, the inserted table contains several rows so you'd either need to handle them as a set or loop through them one-by-one. Perhaps something like...
17 Jun 2018 by User 12225285
My combo box does not load and keeps showing this error Column 'Item_GenName' does not belong to a table. Here's the code: void loadgeneric() { string constring = "Data Source=D-HOS-MIS2;Initial Catalog=Consignment_db;Persist Security Info=True;User...
17 Jun 2018 by Maciej Los
Take a look at this line: string query = "select distinct convert(varchar,Item_GenName) from ItemMasterlistTable where datalength(Item_GenName) != 0"; This returns something like: (No column name). So, change it as follow: string query = "select distinct convert(varchar,Item_GenName) AS...
19 Jul 2015 by wafa_7903
Please help me to solve this code if there is error..I have this error message-Conversion failed when converting the varchar value '@IDPRO ' to data type int. .I work with SQL 2014 and VS 2012CLASSES class DataAccessLayer { SqlConnection SQLcn; //This...
19 Jul 2015 by Wendelius
Based on the code the value in @IDPRO variable goes to column ID_PRODUCT in the table. You have defined that parameter as a varcharparam[0] = new SqlParameter("@IDPRO", SqlDbType.VarChar, 50); param[0].Value = ID_PRODUCT;but most likely the column definition in the database is int.
23 Aug 2014 by junaid2
i have created an application in which i have designed a crystal report and the application has single winform in which there is a crystal report viewer. everything is fine and working but when i try to run that same application on other PC an error occurs saying "crystal report application name...
23 Aug 2014 by OriginalGriff
This isn't a problem we can solve, or even help with that much: we don't have access to your code or to the "other PC".The chances are that when you try to run the app on a different PC, one or more of the assemblies, resources or frameworks that your app requires is not installed, and so it...
27 Mar 2013 by Reddeppa G
this procedure should work in sql server 2005 only...NOT IN SQL SERVER 2008
23 Jan 2015 by agould1
So I've looked around quite a bit for assistance to this problem as the error seems somewhat common, but I've exhausted all my options. I've tried several implementations as suggested but I just can't get past it. Here's the exact error:"Foreign key (FK6482F24702A58C9:Category [fkCategory,...
23 Jan 2015 by Wendelius
Based on the error message you getForeign key (FK6482F24702A58C9:Category [fkCategory, pkCategory])) must have same number of columns as the referenced primary key (Skill [pkSkill])The definition for the foreign key isn't as you described. Instead you have 2 columns in the foreign key...
23 Jan 2015 by agould1
Turns out there was another attempt at this same problem in the solution but the map was wrong. Once I commented out this map (as it's essentially a dead map now) everything workedusing FluentNHibernate.Mapping;using SkillsMatrix.Domain;namespace SkillsMatrix.Mapping{ public...
3 Jan 2012 by ahmedatas
hello to all . I need to do a project about convexHull algorithms in web Service [WİTH C#]. Algorithm names here : •Gift wrapping aka Jarvis march :One of the simplest (although not the most time efficient in the worst case) planar algorithms. Discovered independently by Chand &...
3 Jan 2012 by Ganesan Senthilvel
Best reference is available at CodeProject: Convex Hull[^]
3 Jan 2012 by idle63
Maybe also a starting point (3D):http://www.cse.unsw.edu.au/~lambert/java/3d/hull.html[^]Regards
16 Apr 2013 by arbaaz jalil
I am creating a wall using a UserControl ( which is a nested GridView) i want to load the rows of the GridView on scrolling down just like facebook. I am trying to implement this method.. Click MeClick here The example seems to read the last row's first column to get the last row which is loaded...
16 Apr 2013 by _Amy
Check the value of your hiddenfield before converting it to integer. This problem may occur due to an empty string in HiddenField.Try this:protected void btnGetMoreRecords_Click(object sender, EventArgs e){ if(hiddenLastProductID.Value.Trim() != ""){ //Fetch 14 records...
6 Jan 2021 by PLAA Hemantha
Hello, I try to create report using Crystal report viewer 9 ,MS SQL and VB6. I designed the report using OLE DB(ADO) connection. I connect one table. My code is, Option Explicit Dim Appl As New CRAXDRT.Application Dim Report As New CRAXDRT.Report Private Sub Print_Click() Set Appl = New...
6 Jan 2021 by thatraja
Dynamically you need to pass logon info in your code. Before that, you might want to refresh your report in design view. C# Crystal Reports Dynamic Logon parameters[^]
2 May 2011 by Derek1214
I am kinda new to C# and am trying to make a form that gets info from the user and saves it to a database. I keep getting this error and don't know why or how to fix it.below is the code. Thanks for any help.var pat = textBox1.Text.Trim();var res = textBox2.Text.Trim();if...
2 May 2011 by Mahendra.p25
//you are declaring var pat = textBox1.Text.Trim();var res = textBox2.Text.Trim();and checking if (@pat.Length == 0 || @res.Length == 0)//instead of it write if (pat.Length == 0 || res.Length == 0)//As Abhinav has suggest string command = "Insert INTO...
2 May 2011 by Abhinav S
You need to add the parameter - command.Parameters.Add(new SqlParameter("dbPatCnt", @pat));command.Parameters.Add(new SqlParameter("dbRespCnt", @res));
2 May 2011 by Sandeep Mewara
Try:SqlCon...
2 May 2011 by Ashishmau
here is your Corrected codestring strtxt1 = textBox1.Text.Trim();string strtxt2 = textBox2.Text.Trim();if (strtxt1 == string.Empty || strtxt2== string.Empty){MessageBox.Show("Please enter something in the boxes.");return;}SqlConnection cnn = new...
3 May 2011 by Derek1214
When I tried the following code i recevied this error.Error 2 'string' does not contain a definition for 'Parameters' and no extension method 'Parameters' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?) SqlCommand...
20 Mar 2015 by B1ueboy
We have a VB6 application the queries a linked server using DAO. Recently the query is found to fail on some systems. The error generated is:Error: 0SL009: [Microsoft][ODBC Cursor Library] No columns were bound prior to calling SQLFetchScroll/SQLExtendedFetchError: 3146ODBC--call...
20 Mar 2015 by Duncan Edwards Jones
I would imagine the difference between workstations that do and don't have this issue is down to the version of the MDAC (Microsoft Data Access Components) library in use. Update to the latest available version?
21 Jul 2015 by Jackson.Jarvis
Cause: Visual Basic 6 does not support SQL datatype VARCHAR(MAX) as value supplied in a result set. Option_Value is SQL datatype VARCHAR(MAX).Set rs = OpenRS("SELECT [Option_Value] FROM [xSystemOptions] AS [xso] WHERE " & _ "[xso].[Option_Descr] = 'PayoutEligibilityServices'...
19 May 2011 by programmer1234
In my windows form I've made a textbox which the user uses to enter the website address and then click a button to screen scrap that website into a browser control. They can also save that screen scraped website to an sql database. Now the screen scraped page is saved to database as an image and...
19 May 2011 by fcronin
Found the following block here... Retrieve Image[^]public Stream DisplayImage(int theID){ SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString.ToString());string sql = "SELECT image FROM Table1 WHERE id =...
10 Oct 2013 by write2varun
HiI created a report in SSRS,When i preview the report then the option comes but when i deploy the report then disappears,I want it to be available even after deployplease helpthank you
9 Nov 2013 by Member 3931158
Hi,check that you don't have any "default-value" assigned to the parameter.Thanks,Anil
5 Feb 2017 by Scribling Doodle
Hello guys, I'm creating a software to help me out on my gym and I want to add a plan to a client, but when I add it it gives me this error "string or data would be truncated".This is the code i actually have for the save button. try { if...
4 Feb 2017 by OriginalGriff
The error message is pretty explicit: String or data would be truncatedWhat it means is you are passing a value that is too long for the field definition. Use the debugger to look at exactly what values you are passing to SQL (pay particular attention to the Months field) and either change...
4 Feb 2017 by Peter Leow
To generate a unique CM_ID in the form of I-{number} for each insertion, first change the field type of CM_ID to varchar, then Ask Your Database for that Unique ID[^]
5 Feb 2017 by Ramesh Kumar Barik
This issue occurred due mismatch between table column size and the data which you passed for pushing. In debug mode check the data length which you pass is more than the size of that columns.
25 Sep 2011 by neha_prasad
Hello, I have an issue in which I am binding a table from sql by executing queryselect * from testin this table the data are in this format :Id Name Details1 dinesh 987654312.000000000000000000002 ...
25 Sep 2011 by OriginalGriff
The problem is that you are specifying a 38 digit numeric field in SQL, where the decimal field in .NET is only 28/29 digits. So when you read it back, you get the error. If you can, reduce the size of your SQL field to 28 digits and the problem should go away.
26 Sep 2011 by Dave Kreskowiak
The only two data types that can support values like this are Single and Double, though you'll lose precision and/or range due to a, literal, floating decimal point.You can read up on how the type works to support such values here[^].
11 Jul 2013 by 210032278
When i upload a video to my database the following massege appearThis webpage is not availablehere is my upload code byte[] buffer;//this is the array of bytes which will hold the data (file) SqlConnection connection; protected void ButtonUpload_Click(object sender,...
11 Jul 2013 by Deenuji
try to follow the below article:http://videoplayer.codeplex.com/[^]
26 Jun 2013 by sorawit amorn
What are the differences between Where Clause and On Clause ? Speed, execution, and the use
26 Jun 2013 by Thomas Daniels
Hi,Have a look here:http://stackoverflow.com/questions/354070/sql-join-where-clause-vs-on-clause[^]http://www.bennadel.com/blog/284-SQL-Optimization-And-ON-Clause-vs-WHERE-Clause.htm[^]
23 Oct 2011 by chopoe
I got an error: #1242 - Subquery returns more than 1 row when i run this sql.CREATE VIEW TEST ASSELECT CC_Name, COUNT(*) as Total_Beds,(SELECT COUNT(*) FROM Bed WHERE ResPatient_ID > 0 GROUP BY CC_Name) as Occupied_Beds,(SELECT COUNT(*) FROM Bed WHERE ResPatient_ID IS NULL GROUP BY...
23 Oct 2011 by Abhinav S
(SELECT COUNT(*) FROM Bed WHERE ResPatient_ID > 0 GROUP BY CC_Name) as Occupied_Beds,(SELECT COUNT(*) FROM Bed WHERE ResPatient_ID IS NULL GROUP BY CC_Name) as Free_BedsEach of the above nested queries return more than one row since they are returning a count for every grouping...
23 Oct 2011 by Mehdi Gholam
The group by can return multiple rows so it can not be used in a single row.try the following:CREATE VIEW TEST ASSELECT CC_Name, COUNT(*) as Total_Beds, 0 as Occupied_Beds, 0 as Free_bed from bed union SELECT cc_name, 0 as Total_Beds, COUNT(*) as Occupied_Beds, 0 as Free_bed FROM...
28 Sep 2012 by YoGiV
SELECT answer FROM answer WHERE q_id=(SELECT q_id FROM question WHERE dept="Maths")
28 Sep 2012 by RaisKazi
Try by changing it to as below.SELECT answer FROM answer WHERE q_id in (SELECT q_id FROM question WHERE dept="Maths")
22 Jan 2015 by Shreekant kembhavi
Hi guys,I am handling a scenario in PhP where the input is in %XXXXX% format, where XXXXX can be any number of characters/numbers. The input will be sent to sql for processing (the main intention is to send the input that contains %TEXT% to sql).What I understand from the scenario is...
6 May 2014 by Kan07
"column ambiguously defined" ERR in sql Select Query
6 May 2014 by DamithSL
In a join, any column name that occurs in more than one of the tables must be prefixed by its table name when referenced. For example SELECT tbl1.id, tbl2.column2FROM tbl1 INNER JOIN tbl2 ON tbl1.id = tbl2.id2
29 Mar 2015 by Member 11564470
-ORA-00918: column ambiguously defined
12 May 2016 by Amol_B
Hi,Whats does 'Allow remote access' option in syscurconfigs (select * from syscurconfigs) indicate?As the name implies , you can enable or disable remote connections to your server.Even if its value is set to zero, i can connect to my local server from another machine.(I set it to...
12 May 2016 by Michael_Davies
Google found:allow remote access determines whether users from remote servers can access this SQL Server. The default is 1, to allow SQL Server to communicate with Backup Server.So it does not stop workstation access, only remote servers.
12 May 2016 by Amol_B
Found this on SQL Server 2012 Remote Access to Certain Users - Database Administrators Stack Exchange[^]sp_configure 'remote access', 1 doesn't do what you think it does. The option name is misleading as it has nothing to do with allowing/disallowing users to access the server from a remote...
17 Apr 2018 by Member 13771716
I am currently getting this error when trying to select a date from a drop down list, once the date is selected it should Display data in a GridView depending on the drop down list value. This is achieved using a 'Where' statement equals the value of the selected index. I understand that it is...
17 Apr 2018 by an0ther1
You need to convert the value to a DateTime value. You can use DateTime.TryParse - refer; DateTime.TryParse Method (String, DateTime) (System)[^] or DateTime.TryParse Method (String, IFormatProvider, DateTimeStyles, DateTime) (System)[^] Alternatively you can use DateTime.TryParseExact -...
6 Mar 2015 by Member 10918596
'max' is not a valid identifier in div.how to get value from back end via div id. 5 star ...
3 Nov 2016 by Member 9831003
Please run AccessDatabaseEngine 32 bit setup on your machine even though your machine have 64 bit OS .
3 Nov 2016 by verma.vivek
when i am going to upload control & upload excel files then click btnUpload use Oledb connection, when do the Open connection then this message are shown.OS: WINDOW 10 and Window 2007 V.S 2010 Sql Server 2008R2What I have tried:using (OleDbConnection con = new...
3 Nov 2016 by Mehdi Gholam
Read this : c# - 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine - Stack Overflow[^]
22 Oct 2013 by MrGlass3
Hi Everyone, I'm very new to SQL and am having difficulty understanding why my IN and NOT IN clause is returning the same results when I write my query.I have three tables: TableA,TableB, and TableC. A fourth table has a table of our plants. I am trying to return all the data from TableC...
22 Oct 2013 by phil.o
SELECT TableC.ID --,TableC.SomeColumn1 --,TableC.SomeColumn2FROM TableC LEFT JOIN TableB ON TableB.ID = TableC.TableB_ID LEFT JOIN TableA ON TableA.ID = TableB.TableA_IDWHERE TableA.Plant_ID NOT IN (SELECT ID FROM TablePlants) --AND TableA.Plant_ID IS NOT NULL...
15 Apr 2015 by Aswin_kumar
Hello,I am trying to connect to the Database from the application and its not happening at all. The same DLL is working fine in QA and production.When debugging I understood the SQL connection is always closed.when I checked the below line of code,public static SqlConnection...
14 Apr 2015 by vgandu
Can you verify your connection string is correct, also make sure before calling ExecuteReader you open the DB connection.
19 Oct 2020 by ycwong99
protected void LinkButton_Click(Object sender, EventArgs e) { String MyConnection2 = "Server=localhost;database=ovs;Uid=root;password=; Convert Zero Datetime=True"; DateTime time = DateTime.Now; ...
19 Oct 2020 by Richard MacCutchan
Label lblID = (Label)GridView2.FindControl("lblvID"); string voterID = lblID.Text; You are assuming that FindControl succeeded, but it may not. So first check that it returns a valid control reference, not null.
19 Oct 2020 by OriginalGriff
To add to what Richard has said, this is one of the most common problems we get asked, and it's also the one we are least equipped to answer, but you are most equipped to answer yourself. Let me just explain what the error means: You have tried...
20 Feb 2022 by him_mca
hi team, while executing below query getting the Quote: 'STRING_AGG' is not a recognized built-in function name. AS my server has SQL server version 2016 and my dev mechine having SQL server 2017 Quote: SELECT distinct...
20 Feb 2022 by Graeme_Grant
A quick google search sql server string_agg 2016 found this solution: STRING_AGG replacement in SQL Server 2016 [duplicate]
11 Apr 2018 by Member 13771716
I am currently getting this error code when trying to execute an insert query in C# System.Data.SqlClient.SqlException: 'Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, , >= or when the subquery is used as an expression. The statement has...
11 Apr 2018 by OriginalGriff
Read what I said to your last question: How can I make the primary key value the same the foreign key in a different table?[^] - it tells you what to do. Instead of messing around with OUTPUT, use the SCOPE_IDENTITY to get the FOREIGN KEY value: INSERT INTO Stock_Take (Username, StockDate)...
14 Feb 2012 by vrushali katkade
i have fill the dataset using dataadapter & reading the data from the SQL table .in this read only one row at time from the table when reading data to fill the dataadapter it thrown exception as 'System.OutOfMemoryException' at System.String.CreateStringFromEncoding(Byte* bytes, Int32...
14 Feb 2012 by _Tushar Patil
Hi vrushali,Just refer Following Links.....http://stackoverflow.com/questions/5092510/system-outofmemoryexception-when-filling-dataadapter[^]http://www.dotnetspider.com/forum/234222-System-OutOfMemoryException-thrown-case-huge-data.aspx[^]
25 Oct 2012 by Aadhar Joshi
Currently i'm using "Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1) " version for sql server.I have added danish language registry to...
26 Oct 2012 by Sergey Alexandrovich Kryukov
Please see my comment to the question. As I say, your problem is not described, but you need to use Unicode, and Unicode SQL data types such as NCHAR, NVARCHAR2, NCLOB. Please...
15 Apr 2010 by guyanese4life2
I am trying to test database connectivity and load performance with a sql server 2008 machine. I want to create and send a large amount of connections and queries to the server. this is being done in C# and .net 4.0
15 Apr 2010 by TheGreatAndPowerfulOz
SqlConnection myConnection = new SqlConnection("Initial Catalog=Northwind;Data Source=10.10.10.10:8000;Integrated Security=SSPI;"); string myInsertQuery = "INSERT INTO Customers (CustomerID, CompanyName) Values('NWIND', 'Northwind Traders')"; SqlCommand myCommand = new...
8 Apr 2011 by Wendelius
Most likely this post is because of too much spare time :) But if you're interested in SQL you may find this compelling. I find this issue amusing (and a bit confusing if you don't know about pre-defined conditions or condition cost). If you think about the evaluation order of conditions...
12 Apr 2011 by Chris Meech
I just ran it on Oracle 9.2.0.5 and it always returns 1. :)SQL> select 1 from dual where 1/0=42 or 1=1; 1---------- 1SQL> editWrote file afiedt.buf 1 select 1 from dual 2* where 1=1 or 1/0=42 3 ; 1---------- 1SQL> editWrote file...
12 May 2014 by charliedev
Hello!I'm using Microsoft SQL 2005My datetime column stores data like this: 5/13/2014 12:00:00AMIs there anyway i can select the date only from datetime column?Like, can i get the '5/13/2014' part only?Thanks in advance!
12 May 2014 by King Fisher
Try this :select convert(varchar(10),'5/13/2014 12:00:00AM',103)
13 May 2014 by Maciej Los
Solution1 by King_Fisher is very good. I'd like to provide the link to CAST and CONVERT functions[^] only.
21 Dec 2009 by JakeCake26
I have never really had to retrieve any data stored on a non-local machine from a vb.net windows application before, but now I have to, and I'm going to learn how. So my question before I pick some random site on google to learn a way to do this, I would like to ask if someone could tell and...
21 Dec 2009 by Christian Graus
This code is not the point at all. It's the same as if you were doing it locally. The difference is entirely that you need to build a connection string that points to the remote SQL Server instance.
21 Dec 2009 by JakeCake26
Then, why does this not work if I copy-paste the code I use on my vb.net aspx page to connect to the online sql database? It works perfectly fine there .. Can you please re-post your answer, I'm not sure I understand it :doh:
21 Dec 2009 by Christian Graus
I assume your webpage is not on the same server as the database, and that the database is set up to accept remote connections ? Have you also made sure that no firewall is blocking your application ? So long as the SQL Server will accept a remote connection, that's all you need to do, the...
26 Jun 2013 by VIP Venkatesan
Hi Friends, Can anyone solve this query and help me??create proc Sp_DespatchMachine@docno intasselect distinct m.mcidno,m.mcrefno,t.buyercomp,t.buyerfactfrom Tbl_Machine m join Tbl_Asset t on m.mcidno = (select t.machineid from Tbl_Asset t where t.deliveryno=@docno) WHERE...
26 Jun 2013 by Pallavi Waikar
Try this querycreate proc Sp_DespatchMachine@docno intasselect distinct m.mcidno,m.mcrefno,t.buyercomp,t.buyerfactfrom Tbl_Machine m join Tbl_Asset ton m.mcidno = (select top 1 t.machineid from Tbl_Asset t where t.deliveryno=@docno)WHERE t.deliveryno= @docno
26 Jun 2013 by Simon_Whale
I would change your query to this CREATE PROC DespatchMachine @docno INT AS SELECT DISTINCT m.mcidno,m.mcrefno,t.buyercomp,t.buyerfact FROM Tbl_Machine m INNER JOIN Tbl_Asset t ON m.mcidno = t.machineid WHERE t.deliveryno= @docnop.s. Inner Join will only return the...
25 Jun 2013 by VIP Venkatesan
Hi friends,i've 60 columns in my tablei need to select all values except one value.select * from mytable will select all 60 columns.But i need 59 columns only. for example i want to neglect the 60th column value.so i need to write a query likeselect...
21 Jun 2013 by salah9
you need to provide ID or some condition to remove the 60th tableselect * from mytable where mytable.ID=60hope this helps you..
21 Jun 2013 by Mike Meinz
You need to write query like select column1,column2....column59 from mytable.It is a best practice to always name the columns in a query. This helps when new columns are added or old columns are deleted. With SELECT *, a new column recently added to the table would be retrieved and the...
22 Jun 2013 by RedDk
Here you go. This is the sample data from "vvexample(td).txt" (Copy and paste it)1 1 0 1 1 1 1 0 1 1 1 0 0 0 1 0 0 0 1 1 0 0 1 0 1 0 0 0 0 1 0 1 1 1 0 0 0 1 0 0 1 1 0 1 02 1 0 1 1 1 1 0 1 1 1 0 0 0 1 0 0 0 0 0 0 1 1 1 1 1 1 0 1 1 0 0 1 0 0 1 0 1 1 0 1 0 1 1 03 1 0 1 1 1 1 0 1 1 1 0 0 0 0...
24 Jun 2013 by Adarsh chauhan
Hi,better you select columns in the traditional way like select col1,col2,.... from table(as it will be faster then the SP below)oryou can try following sp,Create PROCEDURE [dbo].[TEST] @Schema varchar(10), @Table varchar(20), @ColumnExclude Varchar(20),...
25 Jun 2013 by gvprabu
Hi...Check the below sample Query.-- Table CreationCREATE TABLE Test(Col1 INT,Col2 INT,Col3 INT,Col4 INT,Col5 INT)-- Local variable DeclarationDECLARE @TableName VARCHAR(100), @SqlQuery NVARCHAR(1000), @ExcludeColPos INT-- Assign default valuesSELECT...
27 Jun 2013 by VIP Venkatesan
i've 2 text box;txtbox1 value ="1/4";txtbox2 value ="1";i want to add these two values using c# code behind..