Viewing 15 posts - 9,481 through 9,495 (of 15,381 total)
It seems you are new around here. Welcome!!! In order to provide help we need to have enough details. That means we need ddl, sample data and desired output based...
January 29, 2013 at 12:28 pm
Chrissy321 (1/29/2013)
Can I insert the results of a stored procedure into a dynamic table?
I am looking for the equivalent functionality of SELECT...INTO but with the data being returned from...
January 29, 2013 at 12:24 pm
salmita (1/29/2013)
I wanna display the names of the customers along with the product names that they have purchased !!
So what table(s) do you think you might need for this?
January 29, 2013 at 12:20 pm
I gave you a basic syntax. Given the lack of details that is the best I can do. All you need to do is figure out what the query is...
January 29, 2013 at 12:17 pm
Incredibly sparse on details. You just need to create your update statement.
Something like this.
update alias
set Col = slt.val
from linkserver.database.schema.table alias
join SomeLocalTable slt on slt.ID = alias.ID
January 29, 2013 at 10:50 am
rockandhra.net (1/29/2013)
@@CONNECTIONS AS 'Login Attempts'
shows
72624361
How accurate is this data? Is it really SQL Server login (success/failure) attempts
I use sql-server connected through ADO.NET only(99%)
1. direct...
January 29, 2013 at 10:41 am
monilps (1/29/2013)
I want to generate script that will have insert statement and select statement for each table in a database.
For Example:
insert into tableA (idA, columnA)
select idA, columnA from tableA
insert into...
January 29, 2013 at 10:30 am
salmita (1/29/2013)
Hello,
I am beginner in T-SQL.
I need to find the tables to the join between the table "Product" table and the "Customer" of the database AdventureWorks2012.
Any idea ?
Thank you.
Customers...
January 29, 2013 at 10:29 am
Glad it is working for you.
The point in time thing is good for a single column but can be a real pita to show what the entire table looked...
January 29, 2013 at 9:31 am
What have you tried so far?
January 29, 2013 at 9:26 am
The parser doesn't care about logical processing. It sees the same create temp table and throws up its hands. Maybe you can change your logic a little bit to avoid...
January 29, 2013 at 9:00 am
L' Eomot Inversé (1/29/2013)
Sean Lange (1/29/2013)
January 29, 2013 at 8:51 am
Please read and follow the instructions found by reading the article in my signature about best practices. Nobody can help because we don't have ddl, sample data, desired output.
January 29, 2013 at 8:48 am
Or you could use and INSTEAD OF trigger and not have to worry about the transaction.
CREATE TRIGGER dbo.tr_test_D
ON dbo.test
INSTEAD OF DELETE
AS
BEGIN
...
January 29, 2013 at 8:45 am
It seems that today's QOTD fits in nicely with this discussion. A very simple method was presented there using a constraint to allow a table to have only 1 row.
CREATE...
January 29, 2013 at 8:07 am
Viewing 15 posts - 9,481 through 9,495 (of 15,381 total)