Viewing 15 posts - 1,756 through 1,770 (of 2,007 total)
Ludo-1135998 (8/31/2010)
I have a Cube with a "Count" Measure. This works well and tell me how many rows are retrieved when I perform Queries, ...
I also have a few dimensions...
August 31, 2010 at 8:09 am
balaji.ganga (8/31/2010)
select 'insert into sam(Id,Name,type,Email,Versionnumber)
values(' + ""id""+','+""Name""+','+ ""type""+','+""Email""+','+""Versionnumber""+ ')'
from sam
when i ran the above query.. the following error occurred
cannot use empty objects or column names.Use a single space if...
August 31, 2010 at 2:17 am
Lowell (8/26/2010)
we cross post each others same answers just a bit too often 🙂
I'm beginning to think I should reload the page before posting 😛
August 26, 2010 at 8:05 am
Would need to be dynamic SQL, e.g.
DECLARE @sql AS VARCHAR(MAX)
SELECT @groupname = 'domname\userid'
SET @sql = 'CREATE USER ' + @groupname + ' FOR LOGIN ' + @groupname
EXEC (@sql)
Damnit Lowell! 😛
August 26, 2010 at 8:00 am
balaji.ganga (8/26/2010)
How to generate a insert query script in sqlserver 2000. In Sql server 2000 don't have option to
generate a script.
...
August 26, 2010 at 4:52 am
Cross post -> http://www.sqlservercentral.com/Forums/Topic973282-5-1.aspx
(I've answered you in your original post)
August 26, 2010 at 4:46 am
Quatrei.X (8/26/2010)
can CTE surpass that 32767 limit?
No. And there's no need for it to either. Generally, if you've got a CTE that exceeds 100, then you've got a circular reference...
August 26, 2010 at 2:58 am
gah (8/25/2010)
I realise that you have probably only given us some sample data....but is there any chance that you have a unique row identifier in your real data
Yeah, agreed. If...
August 26, 2010 at 1:54 am
okkko (8/25/2010)
skcadavre (8/25/2010)
OK, what do "movings" and "stock" represent? Is movings the sum of the "quant" per day for each brand/outlet? Then stock the running total...
August 25, 2010 at 4:19 am
That's a bit better 🙂
OK, what do "movings" and "stock" represent? Is movings the sum of the "quant" per day for each brand/outlet? Then stock the running total of the...
August 25, 2010 at 3:24 am
From what you've given us it's difficult to help, can't correct your code can just point you in the right way. Looks like you're missing a FROM clause to...
August 25, 2010 at 3:10 am
thava (8/24/2010)
i tried this snippet pretty close to me the resultant show all the records with the...
August 24, 2010 at 6:55 am
--Sample table
DECLARE @TABLE AS TABLE(
[RID] INT,
[EMID] INT,
[In Time] DATETIME,
[Out Time] DATETIME)
--Insert sample data
INSERT INTO @TABLE
SELECT 62, 12, '2005-08-18 06:02:00', '2005-08-18 06:31:00'
UNION ALL SELECT 63, 12, '2005-08-18 06:31:00', '2005-08-18 06:33:00'
UNION ALL...
August 24, 2010 at 4:59 am
If there are quotes around all of your data, try this.
Otherwise, try
REPLACE(NAME, "\"","")
If that works, then the problem is with "Upper", so you could set a derrived column that first...
August 24, 2010 at 4:21 am
Viewing 15 posts - 1,756 through 1,770 (of 2,007 total)