Viewing 15 posts - 91 through 105 (of 152 total)
I tried to reduce the total number to 111111.11 I'm still getting the same error.
April 10, 2014 at 4:53 am
this is how I created my table:
CREATE TABLE [dbo].[Product](
[ProductID] [int] IDENTITY(1,1) NOT NULL,
[Code] [nvarchar](max) NOT NULL,
[Qty] [int] NULL
)
I don't understand what do you mean when you say "Remove the TEXTIMAGE_ON...
April 10, 2014 at 3:55 am
It won't get to billion.
I tried [Code] [nvarchar](10) NOT NULL and I get this error:
Cannot use TEXTIMAGE_ON when a table has no text, ntext, image, varchar(max), nvarchar(max), non-FILESTREAM varbinary(max), xml...
April 10, 2014 at 3:26 am
Database already exist, with those users, this logic has to be implemented on already existing database and tables .
March 10, 2014 at 2:31 am
This is what I have but it errors
DECLARE @Product_Id VARCHAR(50), @Fund_Id VARCHAR(50),
@NewFund_Id VARCHAR(50),@NewProduct_Id VARCHAR(50)
SET @Product_Id = 'PIC2'
SET @Fund_Id = ''
SET @NewProduct_Id = 'PCCV'
SET @NewFund_Id = ''
IF @NewFund_Id = '' THEN...
February 12, 2014 at 12:07 am
so far I wrote it in PL\SQL:
UPDATE CUSTOMER
SET recently_purchased = 'Y'
WHERE...
February 11, 2014 at 1:26 am
@a.guillaume
I'm trying to shy away from creating a View or Table for that matter specifying the columns, because if there are any changes to a Table I will...
February 10, 2014 at 3:38 am
@ChrisM@Work
The end to end process is pretty much what I have said, I have products I need to clone. I have 10 tables, in any table I might...
February 10, 2014 at 3:33 am
On this case, RETURNS_ID is a PK with IDENTITY(1,1). I could do this:
SELECT * INTO #TempTable
FROM Hosea_tblDef_RETURNS
WHERE Product_Id = 'AGP1'
AND (Fund_Id = 'E016' or Fund_Id is null)
ALTER TABLE #TempTable
DROP...
February 10, 2014 at 12:58 am
Data change.
I have TableA, it has IDENTITY(1,1) on the PK. I need to clone some of the rows in this table, with only two columns changing. what I decided to...
February 10, 2014 at 12:43 am
here's the idea behind Dynamic SQL:
The user will be passing table name to make changes to it, as they past table name, I'm creating another table in the same structure...
February 7, 2014 at 7:11 am
I have this code:
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Hosea_tempTable]') AND type in (N'U'))
DROP TABLE [dbo].[Hosea_tempTable]
GO
DECLARE @SQLStatement NVARCHAR(MAX),@TableName NVARCHAR(MAX), @Product_Id VARCHAR(50), @Fund_Id VARCHAR(50),
@NewFund_Id VARCHAR(50),@NewProduct_Id VARCHAR(50), @InsertSQL...
February 7, 2014 at 6:49 am
I had this code
select *
INTO Hosea_tempTable
from Hosea_tblDATA_Product_Reports
I see my error was select, I had to insert.
February 7, 2014 at 4:19 am
I'm still learning dynamic sql, thanks for help.
February 7, 2014 at 2:57 am
Viewing 15 posts - 91 through 105 (of 152 total)