Quantcast
Channel: Transact-SQL forum
Browsing all 23857 articles
Browse latest View live

How to create a replica of transactional table with real time data

Hi ALL,I have a transactional table where multiple insert and updates are perfoemaing on that table. i have application which will select the data from that trancatinal table. i am facing the time out...

View Article


How can I share data between vb.net application

My system need user to update resource ,  when one user hold the resource(Sometime they do nothing ) , another user can t get this resource. For example Purchase Order System if someone try to close...

View Article


why 'id_moin' column is Invalid into table-valued procedure.

hi this is my code:USE [rasol]GO/****** Object: UserDefinedTableType [dbo].[hesab_moin_update]    Script Date: 09/16/2013 16:26:56 ******/CREATETYPE [dbo].[hesab_moin_update]ASTABLE(     [id_moin]...

View Article

Datatype

what isa money datatype?

View Article

Recompile is slower than compile.

I have a query which is fast to compile but slow to recompile .... it does include dynamic SQL.Does anybody have any ideas?Thanks,BenMr Shaw

View Article


Report data issues to a new column

Hi, I am working on a requirement where we are migrating to an ERP application from a legacy application. We are in the parallel testing phase and I am tasked with the requirement to see we have a...

View Article

asp.net database objects list

I am trying to document what are the sql server objects are being calling from the asp.net application.is there any tool , approach or method exists to meet this requirement ?Please mark the post as...

View Article

How to get query to generate distinct list of number permutations?

Thanks for your help. I am looking for a way to get distinct list of number permutations for the following result set.This is what is givenID+keyID is unqiueID+Seq is unique. Seq can be <= 10Seq is...

View Article


One to many record query question

I have the following table structure below. I want to query the subject table and subject types table and concatenate the subjectTypes into one column (comma separated).So the result should beColumn 1...

View Article


Problem with Multiple Joins

Hi, I am trying to build a query that joins 3 tables. I have used 2 LEFT OUTER JOINS to do this, however what I am finding is that the 3rd table is returning many records. I have been trying to return...

View Article

how to check available cleaner

Hi, I have a job_orders table in my database with cleaner_id, job_order_date, start_time and end_time. I am inserting job orders in the database. I would like to check before inserting for available...

View Article

Guide me to learn .NET

Hi,what all things are to be learnt in .NET.I think i have to learn all the below mentioned thingsFront end:HTML,CSS,JAVASCRIPT,C#,ASP.NET,WPF,WF,WCF,SILVERLIGHT,LINQBack End:XML,SQL SERVER DATABASE...

View Article

What is the best way to get information from multiple tables?

Hello everyone.  I have a ToDo Table that holds ToDo's that I have set.This is the sequel that collects the ToDo's...SELECT ToDo.ID AS TID, ToDo.ContactID, ToDo.ContactType, ToDo.ToDoType,...

View Article


Function to check whether sql login is a member of domain group

Is it possible to check whether user is a member of domain group or not?I've found IS_MEMBER(), but it shows memberships only for user who executed query - I'd like to check it for other user.Or have...

View Article

dynamic SQL to get distinct values from specific table.column combinations

Hi,I have a table variable that contains a list of specific table names and certain columns within those tables (see example code).  The goal is to write dynamic SQL to generate the results that the...

View Article


Using Derived and Temp Tables

I'm selecting the same data from 2 different tables and dumping the results in one temp table.  In the temp table, how can I differientiate the data between the tables?  For instance, how can I count...

View Article

help needed in duplicating data subset

Thank you for any ideas, your experience and time.temp variable contains source data set. cpID is multivalued. Instance is N signifying itI am looking on ways to turn it into data set belowDECLARE...

View Article


Passing nulls and uniqueidentifier parameters to stored procedure from C#

I need to call a TSQL stored procedure from C#. It takes one parameter which may be null or a uniqueidentifier.My code is: using (SqlConnection Con = new SqlConnection(connectionString)) { SqlCommand...

View Article

How to get the following output

i have a table emp with records as follows: empname        highprtjobs tsaliki             h1 sasi                h2 Srinivas           h3        tsaliki              h4 sasi                 h5 in this...

View Article

Creating an Audit Trigger

Hi, I have a table called payments Which has an LocationID , MensualAmount and Numbre of paymentsI want to make a trigger that when someone changes anything in any of these columns , it will write the...

View Article
Browsing all 23857 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>